@lansweeper/data-platform-outbound-grpc 0.3.17 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +1119 -0
- package/gen-proto/outbound_pb.js +8720 -8
- package/generated-go/outbound.pb.go +13180 -10211
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +268 -3
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$2.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$EventCase.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$2.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$SpecCase.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BiosOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRuleOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrsOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$IpType$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$IpType.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddressOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterfaceOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$2.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$VmwareDataCase.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$ClustersConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$DatastoreClustersConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$DatastoresConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$ClustersDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$DatastoreClustersDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$DatastoresDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$HypervisorsDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$Builder$DisksConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$DisksDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDiskOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBiosOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$EsxiGuestSnapshotsDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiGuestVmKeyDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiHypervisorDatastoresDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfoOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshotOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$Builder$VcenterDatacentersConverter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$VcenterDatacentersDefaultEntryHolder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +268 -3
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +233 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEvent.java +256 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.java +27 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +27 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Bios.java +231 -23
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BiosOrBuilder.java +15 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule.java +753 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRuleOrBuilder.java +49 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride.java +911 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.java +66 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs.java +1239 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrsOrBuilder.java +105 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +2516 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +332 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetIpAddress.java +225 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetIpAddressOrBuilder.java +16 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkInterface.java +392 -12
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkInterfaceOrBuilder.java +55 -4
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3421 -2898
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Processor.java +6 -6
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ProcessorOrBuilder.java +2 -2
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Vmware.java +1123 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatacenter.java +2373 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatacenterOrBuilder.java +305 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastore.java +3237 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +2817 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +294 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreOrBuilder.java +437 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDisk.java +890 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDiskOrBuilder.java +61 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiBios.java +766 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiBiosOrBuilder.java +42 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +4104 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +555 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +4605 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +653 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareOrBuilder.java +57 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareProductInfo.java +3511 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareProductInfoOrBuilder.java +474 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareSnapshot.java +902 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareSnapshotOrBuilder.java +54 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareVCenter.java +1011 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareVCenterOrBuilder.java +91 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.java +1190 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.java +66 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +89 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +32 -0
- package/model/target/{outbound-model-0.3.16-sources.jar → outbound-model-0.3.18-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.16.jar → outbound-model-0.3.18.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +268 -3
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.16-sources.jar → outbound-service-0.3.18-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.16.jar → outbound-service-0.3.18.jar} +0 -0
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java
ADDED
|
@@ -0,0 +1,2516 @@
|
|
|
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
|
+
*This can represent a single or multiple Esxi instances.
|
|
11
|
+
*If we get a single Esxi instance, we will have only one element in the list.
|
|
12
|
+
* </pre>
|
|
13
|
+
*
|
|
14
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.EsxiCluster}
|
|
15
|
+
*/
|
|
16
|
+
public final class EsxiCluster extends
|
|
17
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
18
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.EsxiCluster)
|
|
19
|
+
EsxiClusterOrBuilder {
|
|
20
|
+
private static final long serialVersionUID = 0L;
|
|
21
|
+
// Use EsxiCluster.newBuilder() to construct.
|
|
22
|
+
private EsxiCluster(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
23
|
+
super(builder);
|
|
24
|
+
}
|
|
25
|
+
private EsxiCluster() {
|
|
26
|
+
uuid_ = "";
|
|
27
|
+
datacenterKey_ = "";
|
|
28
|
+
vcenterAssetKey_ = "";
|
|
29
|
+
name_ = "";
|
|
30
|
+
status_ = "";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@java.lang.Override
|
|
34
|
+
@SuppressWarnings({"unused"})
|
|
35
|
+
protected java.lang.Object newInstance(
|
|
36
|
+
UnusedPrivateParameter unused) {
|
|
37
|
+
return new EsxiCluster();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
41
|
+
getDescriptor() {
|
|
42
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_descriptor;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@SuppressWarnings({"rawtypes"})
|
|
46
|
+
@java.lang.Override
|
|
47
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
48
|
+
int number) {
|
|
49
|
+
switch (number) {
|
|
50
|
+
case 13:
|
|
51
|
+
return internalGetHypervisors();
|
|
52
|
+
default:
|
|
53
|
+
throw new RuntimeException(
|
|
54
|
+
"Invalid map field number: " + number);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
@java.lang.Override
|
|
58
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
59
|
+
internalGetFieldAccessorTable() {
|
|
60
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_fieldAccessorTable
|
|
61
|
+
.ensureFieldAccessorsInitialized(
|
|
62
|
+
com.lansweeper.dp.outbound.v1.EsxiCluster.class, com.lansweeper.dp.outbound.v1.EsxiCluster.Builder.class);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
private int bitField0_;
|
|
66
|
+
public static final int UUID_FIELD_NUMBER = 14;
|
|
67
|
+
@SuppressWarnings("serial")
|
|
68
|
+
private volatile java.lang.Object uuid_ = "";
|
|
69
|
+
/**
|
|
70
|
+
* <pre>
|
|
71
|
+
* Primary key of this cluster
|
|
72
|
+
* </pre>
|
|
73
|
+
*
|
|
74
|
+
* <code>string uuid = 14;</code>
|
|
75
|
+
* @return The uuid.
|
|
76
|
+
*/
|
|
77
|
+
@java.lang.Override
|
|
78
|
+
public java.lang.String getUuid() {
|
|
79
|
+
java.lang.Object ref = uuid_;
|
|
80
|
+
if (ref instanceof java.lang.String) {
|
|
81
|
+
return (java.lang.String) ref;
|
|
82
|
+
} else {
|
|
83
|
+
com.google.protobuf.ByteString bs =
|
|
84
|
+
(com.google.protobuf.ByteString) ref;
|
|
85
|
+
java.lang.String s = bs.toStringUtf8();
|
|
86
|
+
uuid_ = s;
|
|
87
|
+
return s;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <pre>
|
|
92
|
+
* Primary key of this cluster
|
|
93
|
+
* </pre>
|
|
94
|
+
*
|
|
95
|
+
* <code>string uuid = 14;</code>
|
|
96
|
+
* @return The bytes for uuid.
|
|
97
|
+
*/
|
|
98
|
+
@java.lang.Override
|
|
99
|
+
public com.google.protobuf.ByteString
|
|
100
|
+
getUuidBytes() {
|
|
101
|
+
java.lang.Object ref = uuid_;
|
|
102
|
+
if (ref instanceof java.lang.String) {
|
|
103
|
+
com.google.protobuf.ByteString b =
|
|
104
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
105
|
+
(java.lang.String) ref);
|
|
106
|
+
uuid_ = b;
|
|
107
|
+
return b;
|
|
108
|
+
} else {
|
|
109
|
+
return (com.google.protobuf.ByteString) ref;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
public static final int DATACENTER_KEY_FIELD_NUMBER = 1;
|
|
114
|
+
@SuppressWarnings("serial")
|
|
115
|
+
private volatile java.lang.Object datacenterKey_ = "";
|
|
116
|
+
/**
|
|
117
|
+
* <pre>
|
|
118
|
+
* Datacenter this cluster belongs to
|
|
119
|
+
* </pre>
|
|
120
|
+
*
|
|
121
|
+
* <code>string datacenter_key = 1;</code>
|
|
122
|
+
* @return The datacenterKey.
|
|
123
|
+
*/
|
|
124
|
+
@java.lang.Override
|
|
125
|
+
public java.lang.String getDatacenterKey() {
|
|
126
|
+
java.lang.Object ref = datacenterKey_;
|
|
127
|
+
if (ref instanceof java.lang.String) {
|
|
128
|
+
return (java.lang.String) ref;
|
|
129
|
+
} else {
|
|
130
|
+
com.google.protobuf.ByteString bs =
|
|
131
|
+
(com.google.protobuf.ByteString) ref;
|
|
132
|
+
java.lang.String s = bs.toStringUtf8();
|
|
133
|
+
datacenterKey_ = s;
|
|
134
|
+
return s;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* <pre>
|
|
139
|
+
* Datacenter this cluster belongs to
|
|
140
|
+
* </pre>
|
|
141
|
+
*
|
|
142
|
+
* <code>string datacenter_key = 1;</code>
|
|
143
|
+
* @return The bytes for datacenterKey.
|
|
144
|
+
*/
|
|
145
|
+
@java.lang.Override
|
|
146
|
+
public com.google.protobuf.ByteString
|
|
147
|
+
getDatacenterKeyBytes() {
|
|
148
|
+
java.lang.Object ref = datacenterKey_;
|
|
149
|
+
if (ref instanceof java.lang.String) {
|
|
150
|
+
com.google.protobuf.ByteString b =
|
|
151
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
152
|
+
(java.lang.String) ref);
|
|
153
|
+
datacenterKey_ = b;
|
|
154
|
+
return b;
|
|
155
|
+
} else {
|
|
156
|
+
return (com.google.protobuf.ByteString) ref;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
public static final int VCENTER_ASSET_KEY_FIELD_NUMBER = 2;
|
|
161
|
+
@SuppressWarnings("serial")
|
|
162
|
+
private volatile java.lang.Object vcenterAssetKey_ = "";
|
|
163
|
+
/**
|
|
164
|
+
* <pre>
|
|
165
|
+
* Reference to the vCenter asset, which this message is child of
|
|
166
|
+
* </pre>
|
|
167
|
+
*
|
|
168
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
169
|
+
* @return The vcenterAssetKey.
|
|
170
|
+
*/
|
|
171
|
+
@java.lang.Override
|
|
172
|
+
public java.lang.String getVcenterAssetKey() {
|
|
173
|
+
java.lang.Object ref = vcenterAssetKey_;
|
|
174
|
+
if (ref instanceof java.lang.String) {
|
|
175
|
+
return (java.lang.String) ref;
|
|
176
|
+
} else {
|
|
177
|
+
com.google.protobuf.ByteString bs =
|
|
178
|
+
(com.google.protobuf.ByteString) ref;
|
|
179
|
+
java.lang.String s = bs.toStringUtf8();
|
|
180
|
+
vcenterAssetKey_ = s;
|
|
181
|
+
return s;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* <pre>
|
|
186
|
+
* Reference to the vCenter asset, which this message is child of
|
|
187
|
+
* </pre>
|
|
188
|
+
*
|
|
189
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
190
|
+
* @return The bytes for vcenterAssetKey.
|
|
191
|
+
*/
|
|
192
|
+
@java.lang.Override
|
|
193
|
+
public com.google.protobuf.ByteString
|
|
194
|
+
getVcenterAssetKeyBytes() {
|
|
195
|
+
java.lang.Object ref = vcenterAssetKey_;
|
|
196
|
+
if (ref instanceof java.lang.String) {
|
|
197
|
+
com.google.protobuf.ByteString b =
|
|
198
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
199
|
+
(java.lang.String) ref);
|
|
200
|
+
vcenterAssetKey_ = b;
|
|
201
|
+
return b;
|
|
202
|
+
} else {
|
|
203
|
+
return (com.google.protobuf.ByteString) ref;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
public static final int NAME_FIELD_NUMBER = 3;
|
|
208
|
+
@SuppressWarnings("serial")
|
|
209
|
+
private volatile java.lang.Object name_ = "";
|
|
210
|
+
/**
|
|
211
|
+
* <pre>
|
|
212
|
+
* Name of the cluster
|
|
213
|
+
* </pre>
|
|
214
|
+
*
|
|
215
|
+
* <code>optional string name = 3;</code>
|
|
216
|
+
* @return Whether the name field is set.
|
|
217
|
+
*/
|
|
218
|
+
@java.lang.Override
|
|
219
|
+
public boolean hasName() {
|
|
220
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* <pre>
|
|
224
|
+
* Name of the cluster
|
|
225
|
+
* </pre>
|
|
226
|
+
*
|
|
227
|
+
* <code>optional string name = 3;</code>
|
|
228
|
+
* @return The name.
|
|
229
|
+
*/
|
|
230
|
+
@java.lang.Override
|
|
231
|
+
public java.lang.String getName() {
|
|
232
|
+
java.lang.Object ref = name_;
|
|
233
|
+
if (ref instanceof java.lang.String) {
|
|
234
|
+
return (java.lang.String) ref;
|
|
235
|
+
} else {
|
|
236
|
+
com.google.protobuf.ByteString bs =
|
|
237
|
+
(com.google.protobuf.ByteString) ref;
|
|
238
|
+
java.lang.String s = bs.toStringUtf8();
|
|
239
|
+
name_ = s;
|
|
240
|
+
return s;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* <pre>
|
|
245
|
+
* Name of the cluster
|
|
246
|
+
* </pre>
|
|
247
|
+
*
|
|
248
|
+
* <code>optional string name = 3;</code>
|
|
249
|
+
* @return The bytes for name.
|
|
250
|
+
*/
|
|
251
|
+
@java.lang.Override
|
|
252
|
+
public com.google.protobuf.ByteString
|
|
253
|
+
getNameBytes() {
|
|
254
|
+
java.lang.Object ref = name_;
|
|
255
|
+
if (ref instanceof java.lang.String) {
|
|
256
|
+
com.google.protobuf.ByteString b =
|
|
257
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
258
|
+
(java.lang.String) ref);
|
|
259
|
+
name_ = b;
|
|
260
|
+
return b;
|
|
261
|
+
} else {
|
|
262
|
+
return (com.google.protobuf.ByteString) ref;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
public static final int TOTAL_NUMBER_CPU_FIELD_NUMBER = 4;
|
|
267
|
+
private int totalNumberCpu_ = 0;
|
|
268
|
+
/**
|
|
269
|
+
* <pre>
|
|
270
|
+
* Total number of CPUs in the cluster
|
|
271
|
+
* </pre>
|
|
272
|
+
*
|
|
273
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
274
|
+
* @return Whether the totalNumberCpu field is set.
|
|
275
|
+
*/
|
|
276
|
+
@java.lang.Override
|
|
277
|
+
public boolean hasTotalNumberCpu() {
|
|
278
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* <pre>
|
|
282
|
+
* Total number of CPUs in the cluster
|
|
283
|
+
* </pre>
|
|
284
|
+
*
|
|
285
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
286
|
+
* @return The totalNumberCpu.
|
|
287
|
+
*/
|
|
288
|
+
@java.lang.Override
|
|
289
|
+
public int getTotalNumberCpu() {
|
|
290
|
+
return totalNumberCpu_;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
public static final int TOTAL_MEMORY_BYTES_FIELD_NUMBER = 5;
|
|
294
|
+
private long totalMemoryBytes_ = 0L;
|
|
295
|
+
/**
|
|
296
|
+
* <pre>
|
|
297
|
+
* Total number of cores in the cluster
|
|
298
|
+
* </pre>
|
|
299
|
+
*
|
|
300
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
301
|
+
* @return Whether the totalMemoryBytes field is set.
|
|
302
|
+
*/
|
|
303
|
+
@java.lang.Override
|
|
304
|
+
public boolean hasTotalMemoryBytes() {
|
|
305
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* <pre>
|
|
309
|
+
* Total number of cores in the cluster
|
|
310
|
+
* </pre>
|
|
311
|
+
*
|
|
312
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
313
|
+
* @return The totalMemoryBytes.
|
|
314
|
+
*/
|
|
315
|
+
@java.lang.Override
|
|
316
|
+
public long getTotalMemoryBytes() {
|
|
317
|
+
return totalMemoryBytes_;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
public static final int TOTAL_NUMBER_CORES_FIELD_NUMBER = 6;
|
|
321
|
+
private int totalNumberCores_ = 0;
|
|
322
|
+
/**
|
|
323
|
+
* <pre>
|
|
324
|
+
* Total number of cores in the cluster
|
|
325
|
+
* </pre>
|
|
326
|
+
*
|
|
327
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
328
|
+
* @return Whether the totalNumberCores field is set.
|
|
329
|
+
*/
|
|
330
|
+
@java.lang.Override
|
|
331
|
+
public boolean hasTotalNumberCores() {
|
|
332
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* <pre>
|
|
336
|
+
* Total number of cores in the cluster
|
|
337
|
+
* </pre>
|
|
338
|
+
*
|
|
339
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
340
|
+
* @return The totalNumberCores.
|
|
341
|
+
*/
|
|
342
|
+
@java.lang.Override
|
|
343
|
+
public int getTotalNumberCores() {
|
|
344
|
+
return totalNumberCores_;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
public static final int TOTAL_NUMBER_THREADS_FIELD_NUMBER = 7;
|
|
348
|
+
private int totalNumberThreads_ = 0;
|
|
349
|
+
/**
|
|
350
|
+
* <pre>
|
|
351
|
+
* Total number of VMs in the cluster
|
|
352
|
+
* </pre>
|
|
353
|
+
*
|
|
354
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
355
|
+
* @return Whether the totalNumberThreads field is set.
|
|
356
|
+
*/
|
|
357
|
+
@java.lang.Override
|
|
358
|
+
public boolean hasTotalNumberThreads() {
|
|
359
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* <pre>
|
|
363
|
+
* Total number of VMs in the cluster
|
|
364
|
+
* </pre>
|
|
365
|
+
*
|
|
366
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
367
|
+
* @return The totalNumberThreads.
|
|
368
|
+
*/
|
|
369
|
+
@java.lang.Override
|
|
370
|
+
public int getTotalNumberThreads() {
|
|
371
|
+
return totalNumberThreads_;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
public static final int EFFECTIVE_CPU_FIELD_NUMBER = 8;
|
|
375
|
+
private int effectiveCpu_ = 0;
|
|
376
|
+
/**
|
|
377
|
+
* <pre>
|
|
378
|
+
* Effective CPU
|
|
379
|
+
* </pre>
|
|
380
|
+
*
|
|
381
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
382
|
+
* @return Whether the effectiveCpu field is set.
|
|
383
|
+
*/
|
|
384
|
+
@java.lang.Override
|
|
385
|
+
public boolean hasEffectiveCpu() {
|
|
386
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* <pre>
|
|
390
|
+
* Effective CPU
|
|
391
|
+
* </pre>
|
|
392
|
+
*
|
|
393
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
394
|
+
* @return The effectiveCpu.
|
|
395
|
+
*/
|
|
396
|
+
@java.lang.Override
|
|
397
|
+
public int getEffectiveCpu() {
|
|
398
|
+
return effectiveCpu_;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
public static final int EFFECTIVE_MEMORY_BYTES_FIELD_NUMBER = 9;
|
|
402
|
+
private long effectiveMemoryBytes_ = 0L;
|
|
403
|
+
/**
|
|
404
|
+
* <pre>
|
|
405
|
+
* Effective memory in bytes
|
|
406
|
+
* </pre>
|
|
407
|
+
*
|
|
408
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
409
|
+
* @return Whether the effectiveMemoryBytes field is set.
|
|
410
|
+
*/
|
|
411
|
+
@java.lang.Override
|
|
412
|
+
public boolean hasEffectiveMemoryBytes() {
|
|
413
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* <pre>
|
|
417
|
+
* Effective memory in bytes
|
|
418
|
+
* </pre>
|
|
419
|
+
*
|
|
420
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
421
|
+
* @return The effectiveMemoryBytes.
|
|
422
|
+
*/
|
|
423
|
+
@java.lang.Override
|
|
424
|
+
public long getEffectiveMemoryBytes() {
|
|
425
|
+
return effectiveMemoryBytes_;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
public static final int TOTAL_HOSTS_FIELD_NUMBER = 10;
|
|
429
|
+
private int totalHosts_ = 0;
|
|
430
|
+
/**
|
|
431
|
+
* <pre>
|
|
432
|
+
* Total number of hosts in the cluster
|
|
433
|
+
* </pre>
|
|
434
|
+
*
|
|
435
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
436
|
+
* @return Whether the totalHosts field is set.
|
|
437
|
+
*/
|
|
438
|
+
@java.lang.Override
|
|
439
|
+
public boolean hasTotalHosts() {
|
|
440
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* <pre>
|
|
444
|
+
* Total number of hosts in the cluster
|
|
445
|
+
* </pre>
|
|
446
|
+
*
|
|
447
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
448
|
+
* @return The totalHosts.
|
|
449
|
+
*/
|
|
450
|
+
@java.lang.Override
|
|
451
|
+
public int getTotalHosts() {
|
|
452
|
+
return totalHosts_;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
public static final int TOTAL_EFFECTIVE_HOSTS_FIELD_NUMBER = 11;
|
|
456
|
+
private int totalEffectiveHosts_ = 0;
|
|
457
|
+
/**
|
|
458
|
+
* <pre>
|
|
459
|
+
* Total number of effective hosts in the cluster
|
|
460
|
+
* </pre>
|
|
461
|
+
*
|
|
462
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
463
|
+
* @return Whether the totalEffectiveHosts field is set.
|
|
464
|
+
*/
|
|
465
|
+
@java.lang.Override
|
|
466
|
+
public boolean hasTotalEffectiveHosts() {
|
|
467
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* <pre>
|
|
471
|
+
* Total number of effective hosts in the cluster
|
|
472
|
+
* </pre>
|
|
473
|
+
*
|
|
474
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
475
|
+
* @return The totalEffectiveHosts.
|
|
476
|
+
*/
|
|
477
|
+
@java.lang.Override
|
|
478
|
+
public int getTotalEffectiveHosts() {
|
|
479
|
+
return totalEffectiveHosts_;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
public static final int STATUS_FIELD_NUMBER = 12;
|
|
483
|
+
@SuppressWarnings("serial")
|
|
484
|
+
private volatile java.lang.Object status_ = "";
|
|
485
|
+
/**
|
|
486
|
+
* <pre>
|
|
487
|
+
* Status of the cluster
|
|
488
|
+
* </pre>
|
|
489
|
+
*
|
|
490
|
+
* <code>optional string status = 12;</code>
|
|
491
|
+
* @return Whether the status field is set.
|
|
492
|
+
*/
|
|
493
|
+
@java.lang.Override
|
|
494
|
+
public boolean hasStatus() {
|
|
495
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* <pre>
|
|
499
|
+
* Status of the cluster
|
|
500
|
+
* </pre>
|
|
501
|
+
*
|
|
502
|
+
* <code>optional string status = 12;</code>
|
|
503
|
+
* @return The status.
|
|
504
|
+
*/
|
|
505
|
+
@java.lang.Override
|
|
506
|
+
public java.lang.String getStatus() {
|
|
507
|
+
java.lang.Object ref = status_;
|
|
508
|
+
if (ref instanceof java.lang.String) {
|
|
509
|
+
return (java.lang.String) ref;
|
|
510
|
+
} else {
|
|
511
|
+
com.google.protobuf.ByteString bs =
|
|
512
|
+
(com.google.protobuf.ByteString) ref;
|
|
513
|
+
java.lang.String s = bs.toStringUtf8();
|
|
514
|
+
status_ = s;
|
|
515
|
+
return s;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* <pre>
|
|
520
|
+
* Status of the cluster
|
|
521
|
+
* </pre>
|
|
522
|
+
*
|
|
523
|
+
* <code>optional string status = 12;</code>
|
|
524
|
+
* @return The bytes for status.
|
|
525
|
+
*/
|
|
526
|
+
@java.lang.Override
|
|
527
|
+
public com.google.protobuf.ByteString
|
|
528
|
+
getStatusBytes() {
|
|
529
|
+
java.lang.Object ref = status_;
|
|
530
|
+
if (ref instanceof java.lang.String) {
|
|
531
|
+
com.google.protobuf.ByteString b =
|
|
532
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
533
|
+
(java.lang.String) ref);
|
|
534
|
+
status_ = b;
|
|
535
|
+
return b;
|
|
536
|
+
} else {
|
|
537
|
+
return (com.google.protobuf.ByteString) ref;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
public static final int HYPERVISORS_FIELD_NUMBER = 13;
|
|
542
|
+
private static final class HypervisorsDefaultEntryHolder {
|
|
543
|
+
static final com.google.protobuf.MapEntry<
|
|
544
|
+
java.lang.String, java.lang.Boolean> defaultEntry =
|
|
545
|
+
com.google.protobuf.MapEntry
|
|
546
|
+
.<java.lang.String, java.lang.Boolean>newDefaultInstance(
|
|
547
|
+
com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_HypervisorsEntry_descriptor,
|
|
548
|
+
com.google.protobuf.WireFormat.FieldType.STRING,
|
|
549
|
+
"",
|
|
550
|
+
com.google.protobuf.WireFormat.FieldType.BOOL,
|
|
551
|
+
false);
|
|
552
|
+
}
|
|
553
|
+
@SuppressWarnings("serial")
|
|
554
|
+
private com.google.protobuf.MapField<
|
|
555
|
+
java.lang.String, java.lang.Boolean> hypervisors_;
|
|
556
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
557
|
+
internalGetHypervisors() {
|
|
558
|
+
if (hypervisors_ == null) {
|
|
559
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
560
|
+
HypervisorsDefaultEntryHolder.defaultEntry);
|
|
561
|
+
}
|
|
562
|
+
return hypervisors_;
|
|
563
|
+
}
|
|
564
|
+
public int getHypervisorsCount() {
|
|
565
|
+
return internalGetHypervisors().getMap().size();
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* <pre>
|
|
569
|
+
* Map of asset keys hypervisors in the cluster
|
|
570
|
+
* </pre>
|
|
571
|
+
*
|
|
572
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
573
|
+
*/
|
|
574
|
+
@java.lang.Override
|
|
575
|
+
public boolean containsHypervisors(
|
|
576
|
+
java.lang.String key) {
|
|
577
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
578
|
+
return internalGetHypervisors().getMap().containsKey(key);
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Use {@link #getHypervisorsMap()} instead.
|
|
582
|
+
*/
|
|
583
|
+
@java.lang.Override
|
|
584
|
+
@java.lang.Deprecated
|
|
585
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHypervisors() {
|
|
586
|
+
return getHypervisorsMap();
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* <pre>
|
|
590
|
+
* Map of asset keys hypervisors in the cluster
|
|
591
|
+
* </pre>
|
|
592
|
+
*
|
|
593
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
594
|
+
*/
|
|
595
|
+
@java.lang.Override
|
|
596
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHypervisorsMap() {
|
|
597
|
+
return internalGetHypervisors().getMap();
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* <pre>
|
|
601
|
+
* Map of asset keys hypervisors in the cluster
|
|
602
|
+
* </pre>
|
|
603
|
+
*
|
|
604
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
605
|
+
*/
|
|
606
|
+
@java.lang.Override
|
|
607
|
+
public boolean getHypervisorsOrDefault(
|
|
608
|
+
java.lang.String key,
|
|
609
|
+
boolean defaultValue) {
|
|
610
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
611
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
612
|
+
internalGetHypervisors().getMap();
|
|
613
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* <pre>
|
|
617
|
+
* Map of asset keys hypervisors in the cluster
|
|
618
|
+
* </pre>
|
|
619
|
+
*
|
|
620
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
621
|
+
*/
|
|
622
|
+
@java.lang.Override
|
|
623
|
+
public boolean getHypervisorsOrThrow(
|
|
624
|
+
java.lang.String key) {
|
|
625
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
626
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
627
|
+
internalGetHypervisors().getMap();
|
|
628
|
+
if (!map.containsKey(key)) {
|
|
629
|
+
throw new java.lang.IllegalArgumentException();
|
|
630
|
+
}
|
|
631
|
+
return map.get(key);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
private byte memoizedIsInitialized = -1;
|
|
635
|
+
@java.lang.Override
|
|
636
|
+
public final boolean isInitialized() {
|
|
637
|
+
byte isInitialized = memoizedIsInitialized;
|
|
638
|
+
if (isInitialized == 1) return true;
|
|
639
|
+
if (isInitialized == 0) return false;
|
|
640
|
+
|
|
641
|
+
memoizedIsInitialized = 1;
|
|
642
|
+
return true;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
@java.lang.Override
|
|
646
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
647
|
+
throws java.io.IOException {
|
|
648
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datacenterKey_)) {
|
|
649
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datacenterKey_);
|
|
650
|
+
}
|
|
651
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vcenterAssetKey_)) {
|
|
652
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vcenterAssetKey_);
|
|
653
|
+
}
|
|
654
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
655
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
|
|
656
|
+
}
|
|
657
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
658
|
+
output.writeUInt32(4, totalNumberCpu_);
|
|
659
|
+
}
|
|
660
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
661
|
+
output.writeUInt64(5, totalMemoryBytes_);
|
|
662
|
+
}
|
|
663
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
664
|
+
output.writeUInt32(6, totalNumberCores_);
|
|
665
|
+
}
|
|
666
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
667
|
+
output.writeUInt32(7, totalNumberThreads_);
|
|
668
|
+
}
|
|
669
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
670
|
+
output.writeUInt32(8, effectiveCpu_);
|
|
671
|
+
}
|
|
672
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
673
|
+
output.writeUInt64(9, effectiveMemoryBytes_);
|
|
674
|
+
}
|
|
675
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
676
|
+
output.writeUInt32(10, totalHosts_);
|
|
677
|
+
}
|
|
678
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
679
|
+
output.writeUInt32(11, totalEffectiveHosts_);
|
|
680
|
+
}
|
|
681
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
682
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, status_);
|
|
683
|
+
}
|
|
684
|
+
com.google.protobuf.GeneratedMessageV3
|
|
685
|
+
.serializeStringMapTo(
|
|
686
|
+
output,
|
|
687
|
+
internalGetHypervisors(),
|
|
688
|
+
HypervisorsDefaultEntryHolder.defaultEntry,
|
|
689
|
+
13);
|
|
690
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
|
|
691
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, uuid_);
|
|
692
|
+
}
|
|
693
|
+
getUnknownFields().writeTo(output);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
@java.lang.Override
|
|
697
|
+
public int getSerializedSize() {
|
|
698
|
+
int size = memoizedSize;
|
|
699
|
+
if (size != -1) return size;
|
|
700
|
+
|
|
701
|
+
size = 0;
|
|
702
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datacenterKey_)) {
|
|
703
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datacenterKey_);
|
|
704
|
+
}
|
|
705
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vcenterAssetKey_)) {
|
|
706
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vcenterAssetKey_);
|
|
707
|
+
}
|
|
708
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
709
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
|
|
710
|
+
}
|
|
711
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
712
|
+
size += com.google.protobuf.CodedOutputStream
|
|
713
|
+
.computeUInt32Size(4, totalNumberCpu_);
|
|
714
|
+
}
|
|
715
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
716
|
+
size += com.google.protobuf.CodedOutputStream
|
|
717
|
+
.computeUInt64Size(5, totalMemoryBytes_);
|
|
718
|
+
}
|
|
719
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
720
|
+
size += com.google.protobuf.CodedOutputStream
|
|
721
|
+
.computeUInt32Size(6, totalNumberCores_);
|
|
722
|
+
}
|
|
723
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
724
|
+
size += com.google.protobuf.CodedOutputStream
|
|
725
|
+
.computeUInt32Size(7, totalNumberThreads_);
|
|
726
|
+
}
|
|
727
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
728
|
+
size += com.google.protobuf.CodedOutputStream
|
|
729
|
+
.computeUInt32Size(8, effectiveCpu_);
|
|
730
|
+
}
|
|
731
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
732
|
+
size += com.google.protobuf.CodedOutputStream
|
|
733
|
+
.computeUInt64Size(9, effectiveMemoryBytes_);
|
|
734
|
+
}
|
|
735
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
736
|
+
size += com.google.protobuf.CodedOutputStream
|
|
737
|
+
.computeUInt32Size(10, totalHosts_);
|
|
738
|
+
}
|
|
739
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
740
|
+
size += com.google.protobuf.CodedOutputStream
|
|
741
|
+
.computeUInt32Size(11, totalEffectiveHosts_);
|
|
742
|
+
}
|
|
743
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
744
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, status_);
|
|
745
|
+
}
|
|
746
|
+
for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
|
|
747
|
+
: internalGetHypervisors().getMap().entrySet()) {
|
|
748
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
749
|
+
hypervisors__ = HypervisorsDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
750
|
+
.setKey(entry.getKey())
|
|
751
|
+
.setValue(entry.getValue())
|
|
752
|
+
.build();
|
|
753
|
+
size += com.google.protobuf.CodedOutputStream
|
|
754
|
+
.computeMessageSize(13, hypervisors__);
|
|
755
|
+
}
|
|
756
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
|
|
757
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, uuid_);
|
|
758
|
+
}
|
|
759
|
+
size += getUnknownFields().getSerializedSize();
|
|
760
|
+
memoizedSize = size;
|
|
761
|
+
return size;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
@java.lang.Override
|
|
765
|
+
public boolean equals(final java.lang.Object obj) {
|
|
766
|
+
if (obj == this) {
|
|
767
|
+
return true;
|
|
768
|
+
}
|
|
769
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.EsxiCluster)) {
|
|
770
|
+
return super.equals(obj);
|
|
771
|
+
}
|
|
772
|
+
com.lansweeper.dp.outbound.v1.EsxiCluster other = (com.lansweeper.dp.outbound.v1.EsxiCluster) obj;
|
|
773
|
+
|
|
774
|
+
if (!getUuid()
|
|
775
|
+
.equals(other.getUuid())) return false;
|
|
776
|
+
if (!getDatacenterKey()
|
|
777
|
+
.equals(other.getDatacenterKey())) return false;
|
|
778
|
+
if (!getVcenterAssetKey()
|
|
779
|
+
.equals(other.getVcenterAssetKey())) return false;
|
|
780
|
+
if (hasName() != other.hasName()) return false;
|
|
781
|
+
if (hasName()) {
|
|
782
|
+
if (!getName()
|
|
783
|
+
.equals(other.getName())) return false;
|
|
784
|
+
}
|
|
785
|
+
if (hasTotalNumberCpu() != other.hasTotalNumberCpu()) return false;
|
|
786
|
+
if (hasTotalNumberCpu()) {
|
|
787
|
+
if (getTotalNumberCpu()
|
|
788
|
+
!= other.getTotalNumberCpu()) return false;
|
|
789
|
+
}
|
|
790
|
+
if (hasTotalMemoryBytes() != other.hasTotalMemoryBytes()) return false;
|
|
791
|
+
if (hasTotalMemoryBytes()) {
|
|
792
|
+
if (getTotalMemoryBytes()
|
|
793
|
+
!= other.getTotalMemoryBytes()) return false;
|
|
794
|
+
}
|
|
795
|
+
if (hasTotalNumberCores() != other.hasTotalNumberCores()) return false;
|
|
796
|
+
if (hasTotalNumberCores()) {
|
|
797
|
+
if (getTotalNumberCores()
|
|
798
|
+
!= other.getTotalNumberCores()) return false;
|
|
799
|
+
}
|
|
800
|
+
if (hasTotalNumberThreads() != other.hasTotalNumberThreads()) return false;
|
|
801
|
+
if (hasTotalNumberThreads()) {
|
|
802
|
+
if (getTotalNumberThreads()
|
|
803
|
+
!= other.getTotalNumberThreads()) return false;
|
|
804
|
+
}
|
|
805
|
+
if (hasEffectiveCpu() != other.hasEffectiveCpu()) return false;
|
|
806
|
+
if (hasEffectiveCpu()) {
|
|
807
|
+
if (getEffectiveCpu()
|
|
808
|
+
!= other.getEffectiveCpu()) return false;
|
|
809
|
+
}
|
|
810
|
+
if (hasEffectiveMemoryBytes() != other.hasEffectiveMemoryBytes()) return false;
|
|
811
|
+
if (hasEffectiveMemoryBytes()) {
|
|
812
|
+
if (getEffectiveMemoryBytes()
|
|
813
|
+
!= other.getEffectiveMemoryBytes()) return false;
|
|
814
|
+
}
|
|
815
|
+
if (hasTotalHosts() != other.hasTotalHosts()) return false;
|
|
816
|
+
if (hasTotalHosts()) {
|
|
817
|
+
if (getTotalHosts()
|
|
818
|
+
!= other.getTotalHosts()) return false;
|
|
819
|
+
}
|
|
820
|
+
if (hasTotalEffectiveHosts() != other.hasTotalEffectiveHosts()) return false;
|
|
821
|
+
if (hasTotalEffectiveHosts()) {
|
|
822
|
+
if (getTotalEffectiveHosts()
|
|
823
|
+
!= other.getTotalEffectiveHosts()) return false;
|
|
824
|
+
}
|
|
825
|
+
if (hasStatus() != other.hasStatus()) return false;
|
|
826
|
+
if (hasStatus()) {
|
|
827
|
+
if (!getStatus()
|
|
828
|
+
.equals(other.getStatus())) return false;
|
|
829
|
+
}
|
|
830
|
+
if (!internalGetHypervisors().equals(
|
|
831
|
+
other.internalGetHypervisors())) return false;
|
|
832
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
833
|
+
return true;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
@java.lang.Override
|
|
837
|
+
public int hashCode() {
|
|
838
|
+
if (memoizedHashCode != 0) {
|
|
839
|
+
return memoizedHashCode;
|
|
840
|
+
}
|
|
841
|
+
int hash = 41;
|
|
842
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
843
|
+
hash = (37 * hash) + UUID_FIELD_NUMBER;
|
|
844
|
+
hash = (53 * hash) + getUuid().hashCode();
|
|
845
|
+
hash = (37 * hash) + DATACENTER_KEY_FIELD_NUMBER;
|
|
846
|
+
hash = (53 * hash) + getDatacenterKey().hashCode();
|
|
847
|
+
hash = (37 * hash) + VCENTER_ASSET_KEY_FIELD_NUMBER;
|
|
848
|
+
hash = (53 * hash) + getVcenterAssetKey().hashCode();
|
|
849
|
+
if (hasName()) {
|
|
850
|
+
hash = (37 * hash) + NAME_FIELD_NUMBER;
|
|
851
|
+
hash = (53 * hash) + getName().hashCode();
|
|
852
|
+
}
|
|
853
|
+
if (hasTotalNumberCpu()) {
|
|
854
|
+
hash = (37 * hash) + TOTAL_NUMBER_CPU_FIELD_NUMBER;
|
|
855
|
+
hash = (53 * hash) + getTotalNumberCpu();
|
|
856
|
+
}
|
|
857
|
+
if (hasTotalMemoryBytes()) {
|
|
858
|
+
hash = (37 * hash) + TOTAL_MEMORY_BYTES_FIELD_NUMBER;
|
|
859
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
860
|
+
getTotalMemoryBytes());
|
|
861
|
+
}
|
|
862
|
+
if (hasTotalNumberCores()) {
|
|
863
|
+
hash = (37 * hash) + TOTAL_NUMBER_CORES_FIELD_NUMBER;
|
|
864
|
+
hash = (53 * hash) + getTotalNumberCores();
|
|
865
|
+
}
|
|
866
|
+
if (hasTotalNumberThreads()) {
|
|
867
|
+
hash = (37 * hash) + TOTAL_NUMBER_THREADS_FIELD_NUMBER;
|
|
868
|
+
hash = (53 * hash) + getTotalNumberThreads();
|
|
869
|
+
}
|
|
870
|
+
if (hasEffectiveCpu()) {
|
|
871
|
+
hash = (37 * hash) + EFFECTIVE_CPU_FIELD_NUMBER;
|
|
872
|
+
hash = (53 * hash) + getEffectiveCpu();
|
|
873
|
+
}
|
|
874
|
+
if (hasEffectiveMemoryBytes()) {
|
|
875
|
+
hash = (37 * hash) + EFFECTIVE_MEMORY_BYTES_FIELD_NUMBER;
|
|
876
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
877
|
+
getEffectiveMemoryBytes());
|
|
878
|
+
}
|
|
879
|
+
if (hasTotalHosts()) {
|
|
880
|
+
hash = (37 * hash) + TOTAL_HOSTS_FIELD_NUMBER;
|
|
881
|
+
hash = (53 * hash) + getTotalHosts();
|
|
882
|
+
}
|
|
883
|
+
if (hasTotalEffectiveHosts()) {
|
|
884
|
+
hash = (37 * hash) + TOTAL_EFFECTIVE_HOSTS_FIELD_NUMBER;
|
|
885
|
+
hash = (53 * hash) + getTotalEffectiveHosts();
|
|
886
|
+
}
|
|
887
|
+
if (hasStatus()) {
|
|
888
|
+
hash = (37 * hash) + STATUS_FIELD_NUMBER;
|
|
889
|
+
hash = (53 * hash) + getStatus().hashCode();
|
|
890
|
+
}
|
|
891
|
+
if (!internalGetHypervisors().getMap().isEmpty()) {
|
|
892
|
+
hash = (37 * hash) + HYPERVISORS_FIELD_NUMBER;
|
|
893
|
+
hash = (53 * hash) + internalGetHypervisors().hashCode();
|
|
894
|
+
}
|
|
895
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
896
|
+
memoizedHashCode = hash;
|
|
897
|
+
return hash;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
901
|
+
java.nio.ByteBuffer data)
|
|
902
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
903
|
+
return PARSER.parseFrom(data);
|
|
904
|
+
}
|
|
905
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
906
|
+
java.nio.ByteBuffer data,
|
|
907
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
908
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
909
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
910
|
+
}
|
|
911
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
912
|
+
com.google.protobuf.ByteString data)
|
|
913
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
914
|
+
return PARSER.parseFrom(data);
|
|
915
|
+
}
|
|
916
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
917
|
+
com.google.protobuf.ByteString data,
|
|
918
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
919
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
920
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
921
|
+
}
|
|
922
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(byte[] data)
|
|
923
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
924
|
+
return PARSER.parseFrom(data);
|
|
925
|
+
}
|
|
926
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
927
|
+
byte[] data,
|
|
928
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
929
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
930
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
931
|
+
}
|
|
932
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(java.io.InputStream input)
|
|
933
|
+
throws java.io.IOException {
|
|
934
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
935
|
+
.parseWithIOException(PARSER, input);
|
|
936
|
+
}
|
|
937
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
938
|
+
java.io.InputStream input,
|
|
939
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
940
|
+
throws java.io.IOException {
|
|
941
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
942
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseDelimitedFrom(java.io.InputStream input)
|
|
946
|
+
throws java.io.IOException {
|
|
947
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
948
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseDelimitedFrom(
|
|
952
|
+
java.io.InputStream input,
|
|
953
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
954
|
+
throws java.io.IOException {
|
|
955
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
956
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
957
|
+
}
|
|
958
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
959
|
+
com.google.protobuf.CodedInputStream input)
|
|
960
|
+
throws java.io.IOException {
|
|
961
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
962
|
+
.parseWithIOException(PARSER, input);
|
|
963
|
+
}
|
|
964
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster parseFrom(
|
|
965
|
+
com.google.protobuf.CodedInputStream input,
|
|
966
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
967
|
+
throws java.io.IOException {
|
|
968
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
969
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
@java.lang.Override
|
|
973
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
974
|
+
public static Builder newBuilder() {
|
|
975
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
976
|
+
}
|
|
977
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.EsxiCluster prototype) {
|
|
978
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
979
|
+
}
|
|
980
|
+
@java.lang.Override
|
|
981
|
+
public Builder toBuilder() {
|
|
982
|
+
return this == DEFAULT_INSTANCE
|
|
983
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
@java.lang.Override
|
|
987
|
+
protected Builder newBuilderForType(
|
|
988
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
989
|
+
Builder builder = new Builder(parent);
|
|
990
|
+
return builder;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* <pre>
|
|
994
|
+
**
|
|
995
|
+
*This can represent a single or multiple Esxi instances.
|
|
996
|
+
*If we get a single Esxi instance, we will have only one element in the list.
|
|
997
|
+
* </pre>
|
|
998
|
+
*
|
|
999
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.EsxiCluster}
|
|
1000
|
+
*/
|
|
1001
|
+
public static final class Builder extends
|
|
1002
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
1003
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.EsxiCluster)
|
|
1004
|
+
com.lansweeper.dp.outbound.v1.EsxiClusterOrBuilder {
|
|
1005
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
1006
|
+
getDescriptor() {
|
|
1007
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_descriptor;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
@SuppressWarnings({"rawtypes"})
|
|
1011
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
|
|
1012
|
+
int number) {
|
|
1013
|
+
switch (number) {
|
|
1014
|
+
case 13:
|
|
1015
|
+
return internalGetHypervisors();
|
|
1016
|
+
default:
|
|
1017
|
+
throw new RuntimeException(
|
|
1018
|
+
"Invalid map field number: " + number);
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
@SuppressWarnings({"rawtypes"})
|
|
1022
|
+
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
|
|
1023
|
+
int number) {
|
|
1024
|
+
switch (number) {
|
|
1025
|
+
case 13:
|
|
1026
|
+
return internalGetMutableHypervisors();
|
|
1027
|
+
default:
|
|
1028
|
+
throw new RuntimeException(
|
|
1029
|
+
"Invalid map field number: " + number);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
@java.lang.Override
|
|
1033
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
1034
|
+
internalGetFieldAccessorTable() {
|
|
1035
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_fieldAccessorTable
|
|
1036
|
+
.ensureFieldAccessorsInitialized(
|
|
1037
|
+
com.lansweeper.dp.outbound.v1.EsxiCluster.class, com.lansweeper.dp.outbound.v1.EsxiCluster.Builder.class);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
// Construct using com.lansweeper.dp.outbound.v1.EsxiCluster.newBuilder()
|
|
1041
|
+
private Builder() {
|
|
1042
|
+
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
private Builder(
|
|
1046
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
1047
|
+
super(parent);
|
|
1048
|
+
|
|
1049
|
+
}
|
|
1050
|
+
@java.lang.Override
|
|
1051
|
+
public Builder clear() {
|
|
1052
|
+
super.clear();
|
|
1053
|
+
bitField0_ = 0;
|
|
1054
|
+
uuid_ = "";
|
|
1055
|
+
datacenterKey_ = "";
|
|
1056
|
+
vcenterAssetKey_ = "";
|
|
1057
|
+
name_ = "";
|
|
1058
|
+
totalNumberCpu_ = 0;
|
|
1059
|
+
totalMemoryBytes_ = 0L;
|
|
1060
|
+
totalNumberCores_ = 0;
|
|
1061
|
+
totalNumberThreads_ = 0;
|
|
1062
|
+
effectiveCpu_ = 0;
|
|
1063
|
+
effectiveMemoryBytes_ = 0L;
|
|
1064
|
+
totalHosts_ = 0;
|
|
1065
|
+
totalEffectiveHosts_ = 0;
|
|
1066
|
+
status_ = "";
|
|
1067
|
+
internalGetMutableHypervisors().clear();
|
|
1068
|
+
return this;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
@java.lang.Override
|
|
1072
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
1073
|
+
getDescriptorForType() {
|
|
1074
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_EsxiCluster_descriptor;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
@java.lang.Override
|
|
1078
|
+
public com.lansweeper.dp.outbound.v1.EsxiCluster getDefaultInstanceForType() {
|
|
1079
|
+
return com.lansweeper.dp.outbound.v1.EsxiCluster.getDefaultInstance();
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
@java.lang.Override
|
|
1083
|
+
public com.lansweeper.dp.outbound.v1.EsxiCluster build() {
|
|
1084
|
+
com.lansweeper.dp.outbound.v1.EsxiCluster result = buildPartial();
|
|
1085
|
+
if (!result.isInitialized()) {
|
|
1086
|
+
throw newUninitializedMessageException(result);
|
|
1087
|
+
}
|
|
1088
|
+
return result;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
@java.lang.Override
|
|
1092
|
+
public com.lansweeper.dp.outbound.v1.EsxiCluster buildPartial() {
|
|
1093
|
+
com.lansweeper.dp.outbound.v1.EsxiCluster result = new com.lansweeper.dp.outbound.v1.EsxiCluster(this);
|
|
1094
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
1095
|
+
onBuilt();
|
|
1096
|
+
return result;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.EsxiCluster result) {
|
|
1100
|
+
int from_bitField0_ = bitField0_;
|
|
1101
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
1102
|
+
result.uuid_ = uuid_;
|
|
1103
|
+
}
|
|
1104
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
1105
|
+
result.datacenterKey_ = datacenterKey_;
|
|
1106
|
+
}
|
|
1107
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
1108
|
+
result.vcenterAssetKey_ = vcenterAssetKey_;
|
|
1109
|
+
}
|
|
1110
|
+
int to_bitField0_ = 0;
|
|
1111
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
1112
|
+
result.name_ = name_;
|
|
1113
|
+
to_bitField0_ |= 0x00000001;
|
|
1114
|
+
}
|
|
1115
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
1116
|
+
result.totalNumberCpu_ = totalNumberCpu_;
|
|
1117
|
+
to_bitField0_ |= 0x00000002;
|
|
1118
|
+
}
|
|
1119
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
1120
|
+
result.totalMemoryBytes_ = totalMemoryBytes_;
|
|
1121
|
+
to_bitField0_ |= 0x00000004;
|
|
1122
|
+
}
|
|
1123
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
1124
|
+
result.totalNumberCores_ = totalNumberCores_;
|
|
1125
|
+
to_bitField0_ |= 0x00000008;
|
|
1126
|
+
}
|
|
1127
|
+
if (((from_bitField0_ & 0x00000080) != 0)) {
|
|
1128
|
+
result.totalNumberThreads_ = totalNumberThreads_;
|
|
1129
|
+
to_bitField0_ |= 0x00000010;
|
|
1130
|
+
}
|
|
1131
|
+
if (((from_bitField0_ & 0x00000100) != 0)) {
|
|
1132
|
+
result.effectiveCpu_ = effectiveCpu_;
|
|
1133
|
+
to_bitField0_ |= 0x00000020;
|
|
1134
|
+
}
|
|
1135
|
+
if (((from_bitField0_ & 0x00000200) != 0)) {
|
|
1136
|
+
result.effectiveMemoryBytes_ = effectiveMemoryBytes_;
|
|
1137
|
+
to_bitField0_ |= 0x00000040;
|
|
1138
|
+
}
|
|
1139
|
+
if (((from_bitField0_ & 0x00000400) != 0)) {
|
|
1140
|
+
result.totalHosts_ = totalHosts_;
|
|
1141
|
+
to_bitField0_ |= 0x00000080;
|
|
1142
|
+
}
|
|
1143
|
+
if (((from_bitField0_ & 0x00000800) != 0)) {
|
|
1144
|
+
result.totalEffectiveHosts_ = totalEffectiveHosts_;
|
|
1145
|
+
to_bitField0_ |= 0x00000100;
|
|
1146
|
+
}
|
|
1147
|
+
if (((from_bitField0_ & 0x00001000) != 0)) {
|
|
1148
|
+
result.status_ = status_;
|
|
1149
|
+
to_bitField0_ |= 0x00000200;
|
|
1150
|
+
}
|
|
1151
|
+
if (((from_bitField0_ & 0x00002000) != 0)) {
|
|
1152
|
+
result.hypervisors_ = internalGetHypervisors();
|
|
1153
|
+
result.hypervisors_.makeImmutable();
|
|
1154
|
+
}
|
|
1155
|
+
result.bitField0_ |= to_bitField0_;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
@java.lang.Override
|
|
1159
|
+
public Builder clone() {
|
|
1160
|
+
return super.clone();
|
|
1161
|
+
}
|
|
1162
|
+
@java.lang.Override
|
|
1163
|
+
public Builder setField(
|
|
1164
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1165
|
+
java.lang.Object value) {
|
|
1166
|
+
return super.setField(field, value);
|
|
1167
|
+
}
|
|
1168
|
+
@java.lang.Override
|
|
1169
|
+
public Builder clearField(
|
|
1170
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
1171
|
+
return super.clearField(field);
|
|
1172
|
+
}
|
|
1173
|
+
@java.lang.Override
|
|
1174
|
+
public Builder clearOneof(
|
|
1175
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
1176
|
+
return super.clearOneof(oneof);
|
|
1177
|
+
}
|
|
1178
|
+
@java.lang.Override
|
|
1179
|
+
public Builder setRepeatedField(
|
|
1180
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1181
|
+
int index, java.lang.Object value) {
|
|
1182
|
+
return super.setRepeatedField(field, index, value);
|
|
1183
|
+
}
|
|
1184
|
+
@java.lang.Override
|
|
1185
|
+
public Builder addRepeatedField(
|
|
1186
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1187
|
+
java.lang.Object value) {
|
|
1188
|
+
return super.addRepeatedField(field, value);
|
|
1189
|
+
}
|
|
1190
|
+
@java.lang.Override
|
|
1191
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
1192
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.EsxiCluster) {
|
|
1193
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.EsxiCluster)other);
|
|
1194
|
+
} else {
|
|
1195
|
+
super.mergeFrom(other);
|
|
1196
|
+
return this;
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.EsxiCluster other) {
|
|
1201
|
+
if (other == com.lansweeper.dp.outbound.v1.EsxiCluster.getDefaultInstance()) return this;
|
|
1202
|
+
if (!other.getUuid().isEmpty()) {
|
|
1203
|
+
uuid_ = other.uuid_;
|
|
1204
|
+
bitField0_ |= 0x00000001;
|
|
1205
|
+
onChanged();
|
|
1206
|
+
}
|
|
1207
|
+
if (!other.getDatacenterKey().isEmpty()) {
|
|
1208
|
+
datacenterKey_ = other.datacenterKey_;
|
|
1209
|
+
bitField0_ |= 0x00000002;
|
|
1210
|
+
onChanged();
|
|
1211
|
+
}
|
|
1212
|
+
if (!other.getVcenterAssetKey().isEmpty()) {
|
|
1213
|
+
vcenterAssetKey_ = other.vcenterAssetKey_;
|
|
1214
|
+
bitField0_ |= 0x00000004;
|
|
1215
|
+
onChanged();
|
|
1216
|
+
}
|
|
1217
|
+
if (other.hasName()) {
|
|
1218
|
+
name_ = other.name_;
|
|
1219
|
+
bitField0_ |= 0x00000008;
|
|
1220
|
+
onChanged();
|
|
1221
|
+
}
|
|
1222
|
+
if (other.hasTotalNumberCpu()) {
|
|
1223
|
+
setTotalNumberCpu(other.getTotalNumberCpu());
|
|
1224
|
+
}
|
|
1225
|
+
if (other.hasTotalMemoryBytes()) {
|
|
1226
|
+
setTotalMemoryBytes(other.getTotalMemoryBytes());
|
|
1227
|
+
}
|
|
1228
|
+
if (other.hasTotalNumberCores()) {
|
|
1229
|
+
setTotalNumberCores(other.getTotalNumberCores());
|
|
1230
|
+
}
|
|
1231
|
+
if (other.hasTotalNumberThreads()) {
|
|
1232
|
+
setTotalNumberThreads(other.getTotalNumberThreads());
|
|
1233
|
+
}
|
|
1234
|
+
if (other.hasEffectiveCpu()) {
|
|
1235
|
+
setEffectiveCpu(other.getEffectiveCpu());
|
|
1236
|
+
}
|
|
1237
|
+
if (other.hasEffectiveMemoryBytes()) {
|
|
1238
|
+
setEffectiveMemoryBytes(other.getEffectiveMemoryBytes());
|
|
1239
|
+
}
|
|
1240
|
+
if (other.hasTotalHosts()) {
|
|
1241
|
+
setTotalHosts(other.getTotalHosts());
|
|
1242
|
+
}
|
|
1243
|
+
if (other.hasTotalEffectiveHosts()) {
|
|
1244
|
+
setTotalEffectiveHosts(other.getTotalEffectiveHosts());
|
|
1245
|
+
}
|
|
1246
|
+
if (other.hasStatus()) {
|
|
1247
|
+
status_ = other.status_;
|
|
1248
|
+
bitField0_ |= 0x00001000;
|
|
1249
|
+
onChanged();
|
|
1250
|
+
}
|
|
1251
|
+
internalGetMutableHypervisors().mergeFrom(
|
|
1252
|
+
other.internalGetHypervisors());
|
|
1253
|
+
bitField0_ |= 0x00002000;
|
|
1254
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
1255
|
+
onChanged();
|
|
1256
|
+
return this;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
@java.lang.Override
|
|
1260
|
+
public final boolean isInitialized() {
|
|
1261
|
+
return true;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
@java.lang.Override
|
|
1265
|
+
public Builder mergeFrom(
|
|
1266
|
+
com.google.protobuf.CodedInputStream input,
|
|
1267
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1268
|
+
throws java.io.IOException {
|
|
1269
|
+
if (extensionRegistry == null) {
|
|
1270
|
+
throw new java.lang.NullPointerException();
|
|
1271
|
+
}
|
|
1272
|
+
try {
|
|
1273
|
+
boolean done = false;
|
|
1274
|
+
while (!done) {
|
|
1275
|
+
int tag = input.readTag();
|
|
1276
|
+
switch (tag) {
|
|
1277
|
+
case 0:
|
|
1278
|
+
done = true;
|
|
1279
|
+
break;
|
|
1280
|
+
case 10: {
|
|
1281
|
+
datacenterKey_ = input.readStringRequireUtf8();
|
|
1282
|
+
bitField0_ |= 0x00000002;
|
|
1283
|
+
break;
|
|
1284
|
+
} // case 10
|
|
1285
|
+
case 18: {
|
|
1286
|
+
vcenterAssetKey_ = input.readStringRequireUtf8();
|
|
1287
|
+
bitField0_ |= 0x00000004;
|
|
1288
|
+
break;
|
|
1289
|
+
} // case 18
|
|
1290
|
+
case 26: {
|
|
1291
|
+
name_ = input.readStringRequireUtf8();
|
|
1292
|
+
bitField0_ |= 0x00000008;
|
|
1293
|
+
break;
|
|
1294
|
+
} // case 26
|
|
1295
|
+
case 32: {
|
|
1296
|
+
totalNumberCpu_ = input.readUInt32();
|
|
1297
|
+
bitField0_ |= 0x00000010;
|
|
1298
|
+
break;
|
|
1299
|
+
} // case 32
|
|
1300
|
+
case 40: {
|
|
1301
|
+
totalMemoryBytes_ = input.readUInt64();
|
|
1302
|
+
bitField0_ |= 0x00000020;
|
|
1303
|
+
break;
|
|
1304
|
+
} // case 40
|
|
1305
|
+
case 48: {
|
|
1306
|
+
totalNumberCores_ = input.readUInt32();
|
|
1307
|
+
bitField0_ |= 0x00000040;
|
|
1308
|
+
break;
|
|
1309
|
+
} // case 48
|
|
1310
|
+
case 56: {
|
|
1311
|
+
totalNumberThreads_ = input.readUInt32();
|
|
1312
|
+
bitField0_ |= 0x00000080;
|
|
1313
|
+
break;
|
|
1314
|
+
} // case 56
|
|
1315
|
+
case 64: {
|
|
1316
|
+
effectiveCpu_ = input.readUInt32();
|
|
1317
|
+
bitField0_ |= 0x00000100;
|
|
1318
|
+
break;
|
|
1319
|
+
} // case 64
|
|
1320
|
+
case 72: {
|
|
1321
|
+
effectiveMemoryBytes_ = input.readUInt64();
|
|
1322
|
+
bitField0_ |= 0x00000200;
|
|
1323
|
+
break;
|
|
1324
|
+
} // case 72
|
|
1325
|
+
case 80: {
|
|
1326
|
+
totalHosts_ = input.readUInt32();
|
|
1327
|
+
bitField0_ |= 0x00000400;
|
|
1328
|
+
break;
|
|
1329
|
+
} // case 80
|
|
1330
|
+
case 88: {
|
|
1331
|
+
totalEffectiveHosts_ = input.readUInt32();
|
|
1332
|
+
bitField0_ |= 0x00000800;
|
|
1333
|
+
break;
|
|
1334
|
+
} // case 88
|
|
1335
|
+
case 98: {
|
|
1336
|
+
status_ = input.readStringRequireUtf8();
|
|
1337
|
+
bitField0_ |= 0x00001000;
|
|
1338
|
+
break;
|
|
1339
|
+
} // case 98
|
|
1340
|
+
case 106: {
|
|
1341
|
+
com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
|
|
1342
|
+
hypervisors__ = input.readMessage(
|
|
1343
|
+
HypervisorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
1344
|
+
internalGetMutableHypervisors().getMutableMap().put(
|
|
1345
|
+
hypervisors__.getKey(), hypervisors__.getValue());
|
|
1346
|
+
bitField0_ |= 0x00002000;
|
|
1347
|
+
break;
|
|
1348
|
+
} // case 106
|
|
1349
|
+
case 114: {
|
|
1350
|
+
uuid_ = input.readStringRequireUtf8();
|
|
1351
|
+
bitField0_ |= 0x00000001;
|
|
1352
|
+
break;
|
|
1353
|
+
} // case 114
|
|
1354
|
+
default: {
|
|
1355
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
1356
|
+
done = true; // was an endgroup tag
|
|
1357
|
+
}
|
|
1358
|
+
break;
|
|
1359
|
+
} // default:
|
|
1360
|
+
} // switch (tag)
|
|
1361
|
+
} // while (!done)
|
|
1362
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1363
|
+
throw e.unwrapIOException();
|
|
1364
|
+
} finally {
|
|
1365
|
+
onChanged();
|
|
1366
|
+
} // finally
|
|
1367
|
+
return this;
|
|
1368
|
+
}
|
|
1369
|
+
private int bitField0_;
|
|
1370
|
+
|
|
1371
|
+
private java.lang.Object uuid_ = "";
|
|
1372
|
+
/**
|
|
1373
|
+
* <pre>
|
|
1374
|
+
* Primary key of this cluster
|
|
1375
|
+
* </pre>
|
|
1376
|
+
*
|
|
1377
|
+
* <code>string uuid = 14;</code>
|
|
1378
|
+
* @return The uuid.
|
|
1379
|
+
*/
|
|
1380
|
+
public java.lang.String getUuid() {
|
|
1381
|
+
java.lang.Object ref = uuid_;
|
|
1382
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1383
|
+
com.google.protobuf.ByteString bs =
|
|
1384
|
+
(com.google.protobuf.ByteString) ref;
|
|
1385
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1386
|
+
uuid_ = s;
|
|
1387
|
+
return s;
|
|
1388
|
+
} else {
|
|
1389
|
+
return (java.lang.String) ref;
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* <pre>
|
|
1394
|
+
* Primary key of this cluster
|
|
1395
|
+
* </pre>
|
|
1396
|
+
*
|
|
1397
|
+
* <code>string uuid = 14;</code>
|
|
1398
|
+
* @return The bytes for uuid.
|
|
1399
|
+
*/
|
|
1400
|
+
public com.google.protobuf.ByteString
|
|
1401
|
+
getUuidBytes() {
|
|
1402
|
+
java.lang.Object ref = uuid_;
|
|
1403
|
+
if (ref instanceof String) {
|
|
1404
|
+
com.google.protobuf.ByteString b =
|
|
1405
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1406
|
+
(java.lang.String) ref);
|
|
1407
|
+
uuid_ = b;
|
|
1408
|
+
return b;
|
|
1409
|
+
} else {
|
|
1410
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* <pre>
|
|
1415
|
+
* Primary key of this cluster
|
|
1416
|
+
* </pre>
|
|
1417
|
+
*
|
|
1418
|
+
* <code>string uuid = 14;</code>
|
|
1419
|
+
* @param value The uuid to set.
|
|
1420
|
+
* @return This builder for chaining.
|
|
1421
|
+
*/
|
|
1422
|
+
public Builder setUuid(
|
|
1423
|
+
java.lang.String value) {
|
|
1424
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1425
|
+
uuid_ = value;
|
|
1426
|
+
bitField0_ |= 0x00000001;
|
|
1427
|
+
onChanged();
|
|
1428
|
+
return this;
|
|
1429
|
+
}
|
|
1430
|
+
/**
|
|
1431
|
+
* <pre>
|
|
1432
|
+
* Primary key of this cluster
|
|
1433
|
+
* </pre>
|
|
1434
|
+
*
|
|
1435
|
+
* <code>string uuid = 14;</code>
|
|
1436
|
+
* @return This builder for chaining.
|
|
1437
|
+
*/
|
|
1438
|
+
public Builder clearUuid() {
|
|
1439
|
+
uuid_ = getDefaultInstance().getUuid();
|
|
1440
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1441
|
+
onChanged();
|
|
1442
|
+
return this;
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* <pre>
|
|
1446
|
+
* Primary key of this cluster
|
|
1447
|
+
* </pre>
|
|
1448
|
+
*
|
|
1449
|
+
* <code>string uuid = 14;</code>
|
|
1450
|
+
* @param value The bytes for uuid to set.
|
|
1451
|
+
* @return This builder for chaining.
|
|
1452
|
+
*/
|
|
1453
|
+
public Builder setUuidBytes(
|
|
1454
|
+
com.google.protobuf.ByteString value) {
|
|
1455
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1456
|
+
checkByteStringIsUtf8(value);
|
|
1457
|
+
uuid_ = value;
|
|
1458
|
+
bitField0_ |= 0x00000001;
|
|
1459
|
+
onChanged();
|
|
1460
|
+
return this;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
private java.lang.Object datacenterKey_ = "";
|
|
1464
|
+
/**
|
|
1465
|
+
* <pre>
|
|
1466
|
+
* Datacenter this cluster belongs to
|
|
1467
|
+
* </pre>
|
|
1468
|
+
*
|
|
1469
|
+
* <code>string datacenter_key = 1;</code>
|
|
1470
|
+
* @return The datacenterKey.
|
|
1471
|
+
*/
|
|
1472
|
+
public java.lang.String getDatacenterKey() {
|
|
1473
|
+
java.lang.Object ref = datacenterKey_;
|
|
1474
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1475
|
+
com.google.protobuf.ByteString bs =
|
|
1476
|
+
(com.google.protobuf.ByteString) ref;
|
|
1477
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1478
|
+
datacenterKey_ = s;
|
|
1479
|
+
return s;
|
|
1480
|
+
} else {
|
|
1481
|
+
return (java.lang.String) ref;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
/**
|
|
1485
|
+
* <pre>
|
|
1486
|
+
* Datacenter this cluster belongs to
|
|
1487
|
+
* </pre>
|
|
1488
|
+
*
|
|
1489
|
+
* <code>string datacenter_key = 1;</code>
|
|
1490
|
+
* @return The bytes for datacenterKey.
|
|
1491
|
+
*/
|
|
1492
|
+
public com.google.protobuf.ByteString
|
|
1493
|
+
getDatacenterKeyBytes() {
|
|
1494
|
+
java.lang.Object ref = datacenterKey_;
|
|
1495
|
+
if (ref instanceof String) {
|
|
1496
|
+
com.google.protobuf.ByteString b =
|
|
1497
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1498
|
+
(java.lang.String) ref);
|
|
1499
|
+
datacenterKey_ = b;
|
|
1500
|
+
return b;
|
|
1501
|
+
} else {
|
|
1502
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* <pre>
|
|
1507
|
+
* Datacenter this cluster belongs to
|
|
1508
|
+
* </pre>
|
|
1509
|
+
*
|
|
1510
|
+
* <code>string datacenter_key = 1;</code>
|
|
1511
|
+
* @param value The datacenterKey to set.
|
|
1512
|
+
* @return This builder for chaining.
|
|
1513
|
+
*/
|
|
1514
|
+
public Builder setDatacenterKey(
|
|
1515
|
+
java.lang.String value) {
|
|
1516
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1517
|
+
datacenterKey_ = value;
|
|
1518
|
+
bitField0_ |= 0x00000002;
|
|
1519
|
+
onChanged();
|
|
1520
|
+
return this;
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* <pre>
|
|
1524
|
+
* Datacenter this cluster belongs to
|
|
1525
|
+
* </pre>
|
|
1526
|
+
*
|
|
1527
|
+
* <code>string datacenter_key = 1;</code>
|
|
1528
|
+
* @return This builder for chaining.
|
|
1529
|
+
*/
|
|
1530
|
+
public Builder clearDatacenterKey() {
|
|
1531
|
+
datacenterKey_ = getDefaultInstance().getDatacenterKey();
|
|
1532
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1533
|
+
onChanged();
|
|
1534
|
+
return this;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* <pre>
|
|
1538
|
+
* Datacenter this cluster belongs to
|
|
1539
|
+
* </pre>
|
|
1540
|
+
*
|
|
1541
|
+
* <code>string datacenter_key = 1;</code>
|
|
1542
|
+
* @param value The bytes for datacenterKey to set.
|
|
1543
|
+
* @return This builder for chaining.
|
|
1544
|
+
*/
|
|
1545
|
+
public Builder setDatacenterKeyBytes(
|
|
1546
|
+
com.google.protobuf.ByteString value) {
|
|
1547
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1548
|
+
checkByteStringIsUtf8(value);
|
|
1549
|
+
datacenterKey_ = value;
|
|
1550
|
+
bitField0_ |= 0x00000002;
|
|
1551
|
+
onChanged();
|
|
1552
|
+
return this;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
private java.lang.Object vcenterAssetKey_ = "";
|
|
1556
|
+
/**
|
|
1557
|
+
* <pre>
|
|
1558
|
+
* Reference to the vCenter asset, which this message is child of
|
|
1559
|
+
* </pre>
|
|
1560
|
+
*
|
|
1561
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
1562
|
+
* @return The vcenterAssetKey.
|
|
1563
|
+
*/
|
|
1564
|
+
public java.lang.String getVcenterAssetKey() {
|
|
1565
|
+
java.lang.Object ref = vcenterAssetKey_;
|
|
1566
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1567
|
+
com.google.protobuf.ByteString bs =
|
|
1568
|
+
(com.google.protobuf.ByteString) ref;
|
|
1569
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1570
|
+
vcenterAssetKey_ = s;
|
|
1571
|
+
return s;
|
|
1572
|
+
} else {
|
|
1573
|
+
return (java.lang.String) ref;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* <pre>
|
|
1578
|
+
* Reference to the vCenter asset, which this message is child of
|
|
1579
|
+
* </pre>
|
|
1580
|
+
*
|
|
1581
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
1582
|
+
* @return The bytes for vcenterAssetKey.
|
|
1583
|
+
*/
|
|
1584
|
+
public com.google.protobuf.ByteString
|
|
1585
|
+
getVcenterAssetKeyBytes() {
|
|
1586
|
+
java.lang.Object ref = vcenterAssetKey_;
|
|
1587
|
+
if (ref instanceof String) {
|
|
1588
|
+
com.google.protobuf.ByteString b =
|
|
1589
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1590
|
+
(java.lang.String) ref);
|
|
1591
|
+
vcenterAssetKey_ = b;
|
|
1592
|
+
return b;
|
|
1593
|
+
} else {
|
|
1594
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* <pre>
|
|
1599
|
+
* Reference to the vCenter asset, which this message is child of
|
|
1600
|
+
* </pre>
|
|
1601
|
+
*
|
|
1602
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
1603
|
+
* @param value The vcenterAssetKey to set.
|
|
1604
|
+
* @return This builder for chaining.
|
|
1605
|
+
*/
|
|
1606
|
+
public Builder setVcenterAssetKey(
|
|
1607
|
+
java.lang.String value) {
|
|
1608
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1609
|
+
vcenterAssetKey_ = value;
|
|
1610
|
+
bitField0_ |= 0x00000004;
|
|
1611
|
+
onChanged();
|
|
1612
|
+
return this;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* <pre>
|
|
1616
|
+
* Reference to the vCenter asset, which this message is child of
|
|
1617
|
+
* </pre>
|
|
1618
|
+
*
|
|
1619
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
1620
|
+
* @return This builder for chaining.
|
|
1621
|
+
*/
|
|
1622
|
+
public Builder clearVcenterAssetKey() {
|
|
1623
|
+
vcenterAssetKey_ = getDefaultInstance().getVcenterAssetKey();
|
|
1624
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1625
|
+
onChanged();
|
|
1626
|
+
return this;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* <pre>
|
|
1630
|
+
* Reference to the vCenter asset, which this message is child of
|
|
1631
|
+
* </pre>
|
|
1632
|
+
*
|
|
1633
|
+
* <code>string vcenter_asset_key = 2;</code>
|
|
1634
|
+
* @param value The bytes for vcenterAssetKey to set.
|
|
1635
|
+
* @return This builder for chaining.
|
|
1636
|
+
*/
|
|
1637
|
+
public Builder setVcenterAssetKeyBytes(
|
|
1638
|
+
com.google.protobuf.ByteString value) {
|
|
1639
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1640
|
+
checkByteStringIsUtf8(value);
|
|
1641
|
+
vcenterAssetKey_ = value;
|
|
1642
|
+
bitField0_ |= 0x00000004;
|
|
1643
|
+
onChanged();
|
|
1644
|
+
return this;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
private java.lang.Object name_ = "";
|
|
1648
|
+
/**
|
|
1649
|
+
* <pre>
|
|
1650
|
+
* Name of the cluster
|
|
1651
|
+
* </pre>
|
|
1652
|
+
*
|
|
1653
|
+
* <code>optional string name = 3;</code>
|
|
1654
|
+
* @return Whether the name field is set.
|
|
1655
|
+
*/
|
|
1656
|
+
public boolean hasName() {
|
|
1657
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* <pre>
|
|
1661
|
+
* Name of the cluster
|
|
1662
|
+
* </pre>
|
|
1663
|
+
*
|
|
1664
|
+
* <code>optional string name = 3;</code>
|
|
1665
|
+
* @return The name.
|
|
1666
|
+
*/
|
|
1667
|
+
public java.lang.String getName() {
|
|
1668
|
+
java.lang.Object ref = name_;
|
|
1669
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1670
|
+
com.google.protobuf.ByteString bs =
|
|
1671
|
+
(com.google.protobuf.ByteString) ref;
|
|
1672
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1673
|
+
name_ = s;
|
|
1674
|
+
return s;
|
|
1675
|
+
} else {
|
|
1676
|
+
return (java.lang.String) ref;
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
/**
|
|
1680
|
+
* <pre>
|
|
1681
|
+
* Name of the cluster
|
|
1682
|
+
* </pre>
|
|
1683
|
+
*
|
|
1684
|
+
* <code>optional string name = 3;</code>
|
|
1685
|
+
* @return The bytes for name.
|
|
1686
|
+
*/
|
|
1687
|
+
public com.google.protobuf.ByteString
|
|
1688
|
+
getNameBytes() {
|
|
1689
|
+
java.lang.Object ref = name_;
|
|
1690
|
+
if (ref instanceof String) {
|
|
1691
|
+
com.google.protobuf.ByteString b =
|
|
1692
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1693
|
+
(java.lang.String) ref);
|
|
1694
|
+
name_ = b;
|
|
1695
|
+
return b;
|
|
1696
|
+
} else {
|
|
1697
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* <pre>
|
|
1702
|
+
* Name of the cluster
|
|
1703
|
+
* </pre>
|
|
1704
|
+
*
|
|
1705
|
+
* <code>optional string name = 3;</code>
|
|
1706
|
+
* @param value The name to set.
|
|
1707
|
+
* @return This builder for chaining.
|
|
1708
|
+
*/
|
|
1709
|
+
public Builder setName(
|
|
1710
|
+
java.lang.String value) {
|
|
1711
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1712
|
+
name_ = value;
|
|
1713
|
+
bitField0_ |= 0x00000008;
|
|
1714
|
+
onChanged();
|
|
1715
|
+
return this;
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* <pre>
|
|
1719
|
+
* Name of the cluster
|
|
1720
|
+
* </pre>
|
|
1721
|
+
*
|
|
1722
|
+
* <code>optional string name = 3;</code>
|
|
1723
|
+
* @return This builder for chaining.
|
|
1724
|
+
*/
|
|
1725
|
+
public Builder clearName() {
|
|
1726
|
+
name_ = getDefaultInstance().getName();
|
|
1727
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1728
|
+
onChanged();
|
|
1729
|
+
return this;
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* <pre>
|
|
1733
|
+
* Name of the cluster
|
|
1734
|
+
* </pre>
|
|
1735
|
+
*
|
|
1736
|
+
* <code>optional string name = 3;</code>
|
|
1737
|
+
* @param value The bytes for name to set.
|
|
1738
|
+
* @return This builder for chaining.
|
|
1739
|
+
*/
|
|
1740
|
+
public Builder setNameBytes(
|
|
1741
|
+
com.google.protobuf.ByteString value) {
|
|
1742
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1743
|
+
checkByteStringIsUtf8(value);
|
|
1744
|
+
name_ = value;
|
|
1745
|
+
bitField0_ |= 0x00000008;
|
|
1746
|
+
onChanged();
|
|
1747
|
+
return this;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
private int totalNumberCpu_ ;
|
|
1751
|
+
/**
|
|
1752
|
+
* <pre>
|
|
1753
|
+
* Total number of CPUs in the cluster
|
|
1754
|
+
* </pre>
|
|
1755
|
+
*
|
|
1756
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
1757
|
+
* @return Whether the totalNumberCpu field is set.
|
|
1758
|
+
*/
|
|
1759
|
+
@java.lang.Override
|
|
1760
|
+
public boolean hasTotalNumberCpu() {
|
|
1761
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
* <pre>
|
|
1765
|
+
* Total number of CPUs in the cluster
|
|
1766
|
+
* </pre>
|
|
1767
|
+
*
|
|
1768
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
1769
|
+
* @return The totalNumberCpu.
|
|
1770
|
+
*/
|
|
1771
|
+
@java.lang.Override
|
|
1772
|
+
public int getTotalNumberCpu() {
|
|
1773
|
+
return totalNumberCpu_;
|
|
1774
|
+
}
|
|
1775
|
+
/**
|
|
1776
|
+
* <pre>
|
|
1777
|
+
* Total number of CPUs in the cluster
|
|
1778
|
+
* </pre>
|
|
1779
|
+
*
|
|
1780
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
1781
|
+
* @param value The totalNumberCpu to set.
|
|
1782
|
+
* @return This builder for chaining.
|
|
1783
|
+
*/
|
|
1784
|
+
public Builder setTotalNumberCpu(int value) {
|
|
1785
|
+
|
|
1786
|
+
totalNumberCpu_ = value;
|
|
1787
|
+
bitField0_ |= 0x00000010;
|
|
1788
|
+
onChanged();
|
|
1789
|
+
return this;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* <pre>
|
|
1793
|
+
* Total number of CPUs in the cluster
|
|
1794
|
+
* </pre>
|
|
1795
|
+
*
|
|
1796
|
+
* <code>optional uint32 total_number_cpu = 4;</code>
|
|
1797
|
+
* @return This builder for chaining.
|
|
1798
|
+
*/
|
|
1799
|
+
public Builder clearTotalNumberCpu() {
|
|
1800
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1801
|
+
totalNumberCpu_ = 0;
|
|
1802
|
+
onChanged();
|
|
1803
|
+
return this;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
private long totalMemoryBytes_ ;
|
|
1807
|
+
/**
|
|
1808
|
+
* <pre>
|
|
1809
|
+
* Total number of cores in the cluster
|
|
1810
|
+
* </pre>
|
|
1811
|
+
*
|
|
1812
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
1813
|
+
* @return Whether the totalMemoryBytes field is set.
|
|
1814
|
+
*/
|
|
1815
|
+
@java.lang.Override
|
|
1816
|
+
public boolean hasTotalMemoryBytes() {
|
|
1817
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* <pre>
|
|
1821
|
+
* Total number of cores in the cluster
|
|
1822
|
+
* </pre>
|
|
1823
|
+
*
|
|
1824
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
1825
|
+
* @return The totalMemoryBytes.
|
|
1826
|
+
*/
|
|
1827
|
+
@java.lang.Override
|
|
1828
|
+
public long getTotalMemoryBytes() {
|
|
1829
|
+
return totalMemoryBytes_;
|
|
1830
|
+
}
|
|
1831
|
+
/**
|
|
1832
|
+
* <pre>
|
|
1833
|
+
* Total number of cores in the cluster
|
|
1834
|
+
* </pre>
|
|
1835
|
+
*
|
|
1836
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
1837
|
+
* @param value The totalMemoryBytes to set.
|
|
1838
|
+
* @return This builder for chaining.
|
|
1839
|
+
*/
|
|
1840
|
+
public Builder setTotalMemoryBytes(long value) {
|
|
1841
|
+
|
|
1842
|
+
totalMemoryBytes_ = value;
|
|
1843
|
+
bitField0_ |= 0x00000020;
|
|
1844
|
+
onChanged();
|
|
1845
|
+
return this;
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* <pre>
|
|
1849
|
+
* Total number of cores in the cluster
|
|
1850
|
+
* </pre>
|
|
1851
|
+
*
|
|
1852
|
+
* <code>optional uint64 total_memory_bytes = 5;</code>
|
|
1853
|
+
* @return This builder for chaining.
|
|
1854
|
+
*/
|
|
1855
|
+
public Builder clearTotalMemoryBytes() {
|
|
1856
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1857
|
+
totalMemoryBytes_ = 0L;
|
|
1858
|
+
onChanged();
|
|
1859
|
+
return this;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
private int totalNumberCores_ ;
|
|
1863
|
+
/**
|
|
1864
|
+
* <pre>
|
|
1865
|
+
* Total number of cores in the cluster
|
|
1866
|
+
* </pre>
|
|
1867
|
+
*
|
|
1868
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
1869
|
+
* @return Whether the totalNumberCores field is set.
|
|
1870
|
+
*/
|
|
1871
|
+
@java.lang.Override
|
|
1872
|
+
public boolean hasTotalNumberCores() {
|
|
1873
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* <pre>
|
|
1877
|
+
* Total number of cores in the cluster
|
|
1878
|
+
* </pre>
|
|
1879
|
+
*
|
|
1880
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
1881
|
+
* @return The totalNumberCores.
|
|
1882
|
+
*/
|
|
1883
|
+
@java.lang.Override
|
|
1884
|
+
public int getTotalNumberCores() {
|
|
1885
|
+
return totalNumberCores_;
|
|
1886
|
+
}
|
|
1887
|
+
/**
|
|
1888
|
+
* <pre>
|
|
1889
|
+
* Total number of cores in the cluster
|
|
1890
|
+
* </pre>
|
|
1891
|
+
*
|
|
1892
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
1893
|
+
* @param value The totalNumberCores to set.
|
|
1894
|
+
* @return This builder for chaining.
|
|
1895
|
+
*/
|
|
1896
|
+
public Builder setTotalNumberCores(int value) {
|
|
1897
|
+
|
|
1898
|
+
totalNumberCores_ = value;
|
|
1899
|
+
bitField0_ |= 0x00000040;
|
|
1900
|
+
onChanged();
|
|
1901
|
+
return this;
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* <pre>
|
|
1905
|
+
* Total number of cores in the cluster
|
|
1906
|
+
* </pre>
|
|
1907
|
+
*
|
|
1908
|
+
* <code>optional uint32 total_number_cores = 6;</code>
|
|
1909
|
+
* @return This builder for chaining.
|
|
1910
|
+
*/
|
|
1911
|
+
public Builder clearTotalNumberCores() {
|
|
1912
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1913
|
+
totalNumberCores_ = 0;
|
|
1914
|
+
onChanged();
|
|
1915
|
+
return this;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
private int totalNumberThreads_ ;
|
|
1919
|
+
/**
|
|
1920
|
+
* <pre>
|
|
1921
|
+
* Total number of VMs in the cluster
|
|
1922
|
+
* </pre>
|
|
1923
|
+
*
|
|
1924
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
1925
|
+
* @return Whether the totalNumberThreads field is set.
|
|
1926
|
+
*/
|
|
1927
|
+
@java.lang.Override
|
|
1928
|
+
public boolean hasTotalNumberThreads() {
|
|
1929
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* <pre>
|
|
1933
|
+
* Total number of VMs in the cluster
|
|
1934
|
+
* </pre>
|
|
1935
|
+
*
|
|
1936
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
1937
|
+
* @return The totalNumberThreads.
|
|
1938
|
+
*/
|
|
1939
|
+
@java.lang.Override
|
|
1940
|
+
public int getTotalNumberThreads() {
|
|
1941
|
+
return totalNumberThreads_;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* <pre>
|
|
1945
|
+
* Total number of VMs in the cluster
|
|
1946
|
+
* </pre>
|
|
1947
|
+
*
|
|
1948
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
1949
|
+
* @param value The totalNumberThreads to set.
|
|
1950
|
+
* @return This builder for chaining.
|
|
1951
|
+
*/
|
|
1952
|
+
public Builder setTotalNumberThreads(int value) {
|
|
1953
|
+
|
|
1954
|
+
totalNumberThreads_ = value;
|
|
1955
|
+
bitField0_ |= 0x00000080;
|
|
1956
|
+
onChanged();
|
|
1957
|
+
return this;
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* <pre>
|
|
1961
|
+
* Total number of VMs in the cluster
|
|
1962
|
+
* </pre>
|
|
1963
|
+
*
|
|
1964
|
+
* <code>optional uint32 total_number_threads = 7;</code>
|
|
1965
|
+
* @return This builder for chaining.
|
|
1966
|
+
*/
|
|
1967
|
+
public Builder clearTotalNumberThreads() {
|
|
1968
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1969
|
+
totalNumberThreads_ = 0;
|
|
1970
|
+
onChanged();
|
|
1971
|
+
return this;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
private int effectiveCpu_ ;
|
|
1975
|
+
/**
|
|
1976
|
+
* <pre>
|
|
1977
|
+
* Effective CPU
|
|
1978
|
+
* </pre>
|
|
1979
|
+
*
|
|
1980
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
1981
|
+
* @return Whether the effectiveCpu field is set.
|
|
1982
|
+
*/
|
|
1983
|
+
@java.lang.Override
|
|
1984
|
+
public boolean hasEffectiveCpu() {
|
|
1985
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* <pre>
|
|
1989
|
+
* Effective CPU
|
|
1990
|
+
* </pre>
|
|
1991
|
+
*
|
|
1992
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
1993
|
+
* @return The effectiveCpu.
|
|
1994
|
+
*/
|
|
1995
|
+
@java.lang.Override
|
|
1996
|
+
public int getEffectiveCpu() {
|
|
1997
|
+
return effectiveCpu_;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* <pre>
|
|
2001
|
+
* Effective CPU
|
|
2002
|
+
* </pre>
|
|
2003
|
+
*
|
|
2004
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
2005
|
+
* @param value The effectiveCpu to set.
|
|
2006
|
+
* @return This builder for chaining.
|
|
2007
|
+
*/
|
|
2008
|
+
public Builder setEffectiveCpu(int value) {
|
|
2009
|
+
|
|
2010
|
+
effectiveCpu_ = value;
|
|
2011
|
+
bitField0_ |= 0x00000100;
|
|
2012
|
+
onChanged();
|
|
2013
|
+
return this;
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* <pre>
|
|
2017
|
+
* Effective CPU
|
|
2018
|
+
* </pre>
|
|
2019
|
+
*
|
|
2020
|
+
* <code>optional uint32 effective_cpu = 8;</code>
|
|
2021
|
+
* @return This builder for chaining.
|
|
2022
|
+
*/
|
|
2023
|
+
public Builder clearEffectiveCpu() {
|
|
2024
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
2025
|
+
effectiveCpu_ = 0;
|
|
2026
|
+
onChanged();
|
|
2027
|
+
return this;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
private long effectiveMemoryBytes_ ;
|
|
2031
|
+
/**
|
|
2032
|
+
* <pre>
|
|
2033
|
+
* Effective memory in bytes
|
|
2034
|
+
* </pre>
|
|
2035
|
+
*
|
|
2036
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
2037
|
+
* @return Whether the effectiveMemoryBytes field is set.
|
|
2038
|
+
*/
|
|
2039
|
+
@java.lang.Override
|
|
2040
|
+
public boolean hasEffectiveMemoryBytes() {
|
|
2041
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* <pre>
|
|
2045
|
+
* Effective memory in bytes
|
|
2046
|
+
* </pre>
|
|
2047
|
+
*
|
|
2048
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
2049
|
+
* @return The effectiveMemoryBytes.
|
|
2050
|
+
*/
|
|
2051
|
+
@java.lang.Override
|
|
2052
|
+
public long getEffectiveMemoryBytes() {
|
|
2053
|
+
return effectiveMemoryBytes_;
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* <pre>
|
|
2057
|
+
* Effective memory in bytes
|
|
2058
|
+
* </pre>
|
|
2059
|
+
*
|
|
2060
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
2061
|
+
* @param value The effectiveMemoryBytes to set.
|
|
2062
|
+
* @return This builder for chaining.
|
|
2063
|
+
*/
|
|
2064
|
+
public Builder setEffectiveMemoryBytes(long value) {
|
|
2065
|
+
|
|
2066
|
+
effectiveMemoryBytes_ = value;
|
|
2067
|
+
bitField0_ |= 0x00000200;
|
|
2068
|
+
onChanged();
|
|
2069
|
+
return this;
|
|
2070
|
+
}
|
|
2071
|
+
/**
|
|
2072
|
+
* <pre>
|
|
2073
|
+
* Effective memory in bytes
|
|
2074
|
+
* </pre>
|
|
2075
|
+
*
|
|
2076
|
+
* <code>optional uint64 effective_memory_bytes = 9;</code>
|
|
2077
|
+
* @return This builder for chaining.
|
|
2078
|
+
*/
|
|
2079
|
+
public Builder clearEffectiveMemoryBytes() {
|
|
2080
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
2081
|
+
effectiveMemoryBytes_ = 0L;
|
|
2082
|
+
onChanged();
|
|
2083
|
+
return this;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
private int totalHosts_ ;
|
|
2087
|
+
/**
|
|
2088
|
+
* <pre>
|
|
2089
|
+
* Total number of hosts in the cluster
|
|
2090
|
+
* </pre>
|
|
2091
|
+
*
|
|
2092
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
2093
|
+
* @return Whether the totalHosts field is set.
|
|
2094
|
+
*/
|
|
2095
|
+
@java.lang.Override
|
|
2096
|
+
public boolean hasTotalHosts() {
|
|
2097
|
+
return ((bitField0_ & 0x00000400) != 0);
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* <pre>
|
|
2101
|
+
* Total number of hosts in the cluster
|
|
2102
|
+
* </pre>
|
|
2103
|
+
*
|
|
2104
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
2105
|
+
* @return The totalHosts.
|
|
2106
|
+
*/
|
|
2107
|
+
@java.lang.Override
|
|
2108
|
+
public int getTotalHosts() {
|
|
2109
|
+
return totalHosts_;
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* <pre>
|
|
2113
|
+
* Total number of hosts in the cluster
|
|
2114
|
+
* </pre>
|
|
2115
|
+
*
|
|
2116
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
2117
|
+
* @param value The totalHosts to set.
|
|
2118
|
+
* @return This builder for chaining.
|
|
2119
|
+
*/
|
|
2120
|
+
public Builder setTotalHosts(int value) {
|
|
2121
|
+
|
|
2122
|
+
totalHosts_ = value;
|
|
2123
|
+
bitField0_ |= 0x00000400;
|
|
2124
|
+
onChanged();
|
|
2125
|
+
return this;
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* <pre>
|
|
2129
|
+
* Total number of hosts in the cluster
|
|
2130
|
+
* </pre>
|
|
2131
|
+
*
|
|
2132
|
+
* <code>optional uint32 total_hosts = 10;</code>
|
|
2133
|
+
* @return This builder for chaining.
|
|
2134
|
+
*/
|
|
2135
|
+
public Builder clearTotalHosts() {
|
|
2136
|
+
bitField0_ = (bitField0_ & ~0x00000400);
|
|
2137
|
+
totalHosts_ = 0;
|
|
2138
|
+
onChanged();
|
|
2139
|
+
return this;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
private int totalEffectiveHosts_ ;
|
|
2143
|
+
/**
|
|
2144
|
+
* <pre>
|
|
2145
|
+
* Total number of effective hosts in the cluster
|
|
2146
|
+
* </pre>
|
|
2147
|
+
*
|
|
2148
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
2149
|
+
* @return Whether the totalEffectiveHosts field is set.
|
|
2150
|
+
*/
|
|
2151
|
+
@java.lang.Override
|
|
2152
|
+
public boolean hasTotalEffectiveHosts() {
|
|
2153
|
+
return ((bitField0_ & 0x00000800) != 0);
|
|
2154
|
+
}
|
|
2155
|
+
/**
|
|
2156
|
+
* <pre>
|
|
2157
|
+
* Total number of effective hosts in the cluster
|
|
2158
|
+
* </pre>
|
|
2159
|
+
*
|
|
2160
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
2161
|
+
* @return The totalEffectiveHosts.
|
|
2162
|
+
*/
|
|
2163
|
+
@java.lang.Override
|
|
2164
|
+
public int getTotalEffectiveHosts() {
|
|
2165
|
+
return totalEffectiveHosts_;
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* <pre>
|
|
2169
|
+
* Total number of effective hosts in the cluster
|
|
2170
|
+
* </pre>
|
|
2171
|
+
*
|
|
2172
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
2173
|
+
* @param value The totalEffectiveHosts to set.
|
|
2174
|
+
* @return This builder for chaining.
|
|
2175
|
+
*/
|
|
2176
|
+
public Builder setTotalEffectiveHosts(int value) {
|
|
2177
|
+
|
|
2178
|
+
totalEffectiveHosts_ = value;
|
|
2179
|
+
bitField0_ |= 0x00000800;
|
|
2180
|
+
onChanged();
|
|
2181
|
+
return this;
|
|
2182
|
+
}
|
|
2183
|
+
/**
|
|
2184
|
+
* <pre>
|
|
2185
|
+
* Total number of effective hosts in the cluster
|
|
2186
|
+
* </pre>
|
|
2187
|
+
*
|
|
2188
|
+
* <code>optional uint32 total_effective_hosts = 11;</code>
|
|
2189
|
+
* @return This builder for chaining.
|
|
2190
|
+
*/
|
|
2191
|
+
public Builder clearTotalEffectiveHosts() {
|
|
2192
|
+
bitField0_ = (bitField0_ & ~0x00000800);
|
|
2193
|
+
totalEffectiveHosts_ = 0;
|
|
2194
|
+
onChanged();
|
|
2195
|
+
return this;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
private java.lang.Object status_ = "";
|
|
2199
|
+
/**
|
|
2200
|
+
* <pre>
|
|
2201
|
+
* Status of the cluster
|
|
2202
|
+
* </pre>
|
|
2203
|
+
*
|
|
2204
|
+
* <code>optional string status = 12;</code>
|
|
2205
|
+
* @return Whether the status field is set.
|
|
2206
|
+
*/
|
|
2207
|
+
public boolean hasStatus() {
|
|
2208
|
+
return ((bitField0_ & 0x00001000) != 0);
|
|
2209
|
+
}
|
|
2210
|
+
/**
|
|
2211
|
+
* <pre>
|
|
2212
|
+
* Status of the cluster
|
|
2213
|
+
* </pre>
|
|
2214
|
+
*
|
|
2215
|
+
* <code>optional string status = 12;</code>
|
|
2216
|
+
* @return The status.
|
|
2217
|
+
*/
|
|
2218
|
+
public java.lang.String getStatus() {
|
|
2219
|
+
java.lang.Object ref = status_;
|
|
2220
|
+
if (!(ref instanceof java.lang.String)) {
|
|
2221
|
+
com.google.protobuf.ByteString bs =
|
|
2222
|
+
(com.google.protobuf.ByteString) ref;
|
|
2223
|
+
java.lang.String s = bs.toStringUtf8();
|
|
2224
|
+
status_ = s;
|
|
2225
|
+
return s;
|
|
2226
|
+
} else {
|
|
2227
|
+
return (java.lang.String) ref;
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* <pre>
|
|
2232
|
+
* Status of the cluster
|
|
2233
|
+
* </pre>
|
|
2234
|
+
*
|
|
2235
|
+
* <code>optional string status = 12;</code>
|
|
2236
|
+
* @return The bytes for status.
|
|
2237
|
+
*/
|
|
2238
|
+
public com.google.protobuf.ByteString
|
|
2239
|
+
getStatusBytes() {
|
|
2240
|
+
java.lang.Object ref = status_;
|
|
2241
|
+
if (ref instanceof String) {
|
|
2242
|
+
com.google.protobuf.ByteString b =
|
|
2243
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
2244
|
+
(java.lang.String) ref);
|
|
2245
|
+
status_ = b;
|
|
2246
|
+
return b;
|
|
2247
|
+
} else {
|
|
2248
|
+
return (com.google.protobuf.ByteString) ref;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
* <pre>
|
|
2253
|
+
* Status of the cluster
|
|
2254
|
+
* </pre>
|
|
2255
|
+
*
|
|
2256
|
+
* <code>optional string status = 12;</code>
|
|
2257
|
+
* @param value The status to set.
|
|
2258
|
+
* @return This builder for chaining.
|
|
2259
|
+
*/
|
|
2260
|
+
public Builder setStatus(
|
|
2261
|
+
java.lang.String value) {
|
|
2262
|
+
if (value == null) { throw new NullPointerException(); }
|
|
2263
|
+
status_ = value;
|
|
2264
|
+
bitField0_ |= 0x00001000;
|
|
2265
|
+
onChanged();
|
|
2266
|
+
return this;
|
|
2267
|
+
}
|
|
2268
|
+
/**
|
|
2269
|
+
* <pre>
|
|
2270
|
+
* Status of the cluster
|
|
2271
|
+
* </pre>
|
|
2272
|
+
*
|
|
2273
|
+
* <code>optional string status = 12;</code>
|
|
2274
|
+
* @return This builder for chaining.
|
|
2275
|
+
*/
|
|
2276
|
+
public Builder clearStatus() {
|
|
2277
|
+
status_ = getDefaultInstance().getStatus();
|
|
2278
|
+
bitField0_ = (bitField0_ & ~0x00001000);
|
|
2279
|
+
onChanged();
|
|
2280
|
+
return this;
|
|
2281
|
+
}
|
|
2282
|
+
/**
|
|
2283
|
+
* <pre>
|
|
2284
|
+
* Status of the cluster
|
|
2285
|
+
* </pre>
|
|
2286
|
+
*
|
|
2287
|
+
* <code>optional string status = 12;</code>
|
|
2288
|
+
* @param value The bytes for status to set.
|
|
2289
|
+
* @return This builder for chaining.
|
|
2290
|
+
*/
|
|
2291
|
+
public Builder setStatusBytes(
|
|
2292
|
+
com.google.protobuf.ByteString value) {
|
|
2293
|
+
if (value == null) { throw new NullPointerException(); }
|
|
2294
|
+
checkByteStringIsUtf8(value);
|
|
2295
|
+
status_ = value;
|
|
2296
|
+
bitField0_ |= 0x00001000;
|
|
2297
|
+
onChanged();
|
|
2298
|
+
return this;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
private com.google.protobuf.MapField<
|
|
2302
|
+
java.lang.String, java.lang.Boolean> hypervisors_;
|
|
2303
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
2304
|
+
internalGetHypervisors() {
|
|
2305
|
+
if (hypervisors_ == null) {
|
|
2306
|
+
return com.google.protobuf.MapField.emptyMapField(
|
|
2307
|
+
HypervisorsDefaultEntryHolder.defaultEntry);
|
|
2308
|
+
}
|
|
2309
|
+
return hypervisors_;
|
|
2310
|
+
}
|
|
2311
|
+
private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
|
|
2312
|
+
internalGetMutableHypervisors() {
|
|
2313
|
+
if (hypervisors_ == null) {
|
|
2314
|
+
hypervisors_ = com.google.protobuf.MapField.newMapField(
|
|
2315
|
+
HypervisorsDefaultEntryHolder.defaultEntry);
|
|
2316
|
+
}
|
|
2317
|
+
if (!hypervisors_.isMutable()) {
|
|
2318
|
+
hypervisors_ = hypervisors_.copy();
|
|
2319
|
+
}
|
|
2320
|
+
bitField0_ |= 0x00002000;
|
|
2321
|
+
onChanged();
|
|
2322
|
+
return hypervisors_;
|
|
2323
|
+
}
|
|
2324
|
+
public int getHypervisorsCount() {
|
|
2325
|
+
return internalGetHypervisors().getMap().size();
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* <pre>
|
|
2329
|
+
* Map of asset keys hypervisors in the cluster
|
|
2330
|
+
* </pre>
|
|
2331
|
+
*
|
|
2332
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2333
|
+
*/
|
|
2334
|
+
@java.lang.Override
|
|
2335
|
+
public boolean containsHypervisors(
|
|
2336
|
+
java.lang.String key) {
|
|
2337
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
2338
|
+
return internalGetHypervisors().getMap().containsKey(key);
|
|
2339
|
+
}
|
|
2340
|
+
/**
|
|
2341
|
+
* Use {@link #getHypervisorsMap()} instead.
|
|
2342
|
+
*/
|
|
2343
|
+
@java.lang.Override
|
|
2344
|
+
@java.lang.Deprecated
|
|
2345
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHypervisors() {
|
|
2346
|
+
return getHypervisorsMap();
|
|
2347
|
+
}
|
|
2348
|
+
/**
|
|
2349
|
+
* <pre>
|
|
2350
|
+
* Map of asset keys hypervisors in the cluster
|
|
2351
|
+
* </pre>
|
|
2352
|
+
*
|
|
2353
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2354
|
+
*/
|
|
2355
|
+
@java.lang.Override
|
|
2356
|
+
public java.util.Map<java.lang.String, java.lang.Boolean> getHypervisorsMap() {
|
|
2357
|
+
return internalGetHypervisors().getMap();
|
|
2358
|
+
}
|
|
2359
|
+
/**
|
|
2360
|
+
* <pre>
|
|
2361
|
+
* Map of asset keys hypervisors in the cluster
|
|
2362
|
+
* </pre>
|
|
2363
|
+
*
|
|
2364
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2365
|
+
*/
|
|
2366
|
+
@java.lang.Override
|
|
2367
|
+
public boolean getHypervisorsOrDefault(
|
|
2368
|
+
java.lang.String key,
|
|
2369
|
+
boolean defaultValue) {
|
|
2370
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
2371
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
2372
|
+
internalGetHypervisors().getMap();
|
|
2373
|
+
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* <pre>
|
|
2377
|
+
* Map of asset keys hypervisors in the cluster
|
|
2378
|
+
* </pre>
|
|
2379
|
+
*
|
|
2380
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2381
|
+
*/
|
|
2382
|
+
@java.lang.Override
|
|
2383
|
+
public boolean getHypervisorsOrThrow(
|
|
2384
|
+
java.lang.String key) {
|
|
2385
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
2386
|
+
java.util.Map<java.lang.String, java.lang.Boolean> map =
|
|
2387
|
+
internalGetHypervisors().getMap();
|
|
2388
|
+
if (!map.containsKey(key)) {
|
|
2389
|
+
throw new java.lang.IllegalArgumentException();
|
|
2390
|
+
}
|
|
2391
|
+
return map.get(key);
|
|
2392
|
+
}
|
|
2393
|
+
public Builder clearHypervisors() {
|
|
2394
|
+
bitField0_ = (bitField0_ & ~0x00002000);
|
|
2395
|
+
internalGetMutableHypervisors().getMutableMap()
|
|
2396
|
+
.clear();
|
|
2397
|
+
return this;
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* <pre>
|
|
2401
|
+
* Map of asset keys hypervisors in the cluster
|
|
2402
|
+
* </pre>
|
|
2403
|
+
*
|
|
2404
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2405
|
+
*/
|
|
2406
|
+
public Builder removeHypervisors(
|
|
2407
|
+
java.lang.String key) {
|
|
2408
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
2409
|
+
internalGetMutableHypervisors().getMutableMap()
|
|
2410
|
+
.remove(key);
|
|
2411
|
+
return this;
|
|
2412
|
+
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Use alternate mutation accessors instead.
|
|
2415
|
+
*/
|
|
2416
|
+
@java.lang.Deprecated
|
|
2417
|
+
public java.util.Map<java.lang.String, java.lang.Boolean>
|
|
2418
|
+
getMutableHypervisors() {
|
|
2419
|
+
bitField0_ |= 0x00002000;
|
|
2420
|
+
return internalGetMutableHypervisors().getMutableMap();
|
|
2421
|
+
}
|
|
2422
|
+
/**
|
|
2423
|
+
* <pre>
|
|
2424
|
+
* Map of asset keys hypervisors in the cluster
|
|
2425
|
+
* </pre>
|
|
2426
|
+
*
|
|
2427
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2428
|
+
*/
|
|
2429
|
+
public Builder putHypervisors(
|
|
2430
|
+
java.lang.String key,
|
|
2431
|
+
boolean value) {
|
|
2432
|
+
if (key == null) { throw new NullPointerException("map key"); }
|
|
2433
|
+
|
|
2434
|
+
internalGetMutableHypervisors().getMutableMap()
|
|
2435
|
+
.put(key, value);
|
|
2436
|
+
bitField0_ |= 0x00002000;
|
|
2437
|
+
return this;
|
|
2438
|
+
}
|
|
2439
|
+
/**
|
|
2440
|
+
* <pre>
|
|
2441
|
+
* Map of asset keys hypervisors in the cluster
|
|
2442
|
+
* </pre>
|
|
2443
|
+
*
|
|
2444
|
+
* <code>map<string, bool> hypervisors = 13;</code>
|
|
2445
|
+
*/
|
|
2446
|
+
public Builder putAllHypervisors(
|
|
2447
|
+
java.util.Map<java.lang.String, java.lang.Boolean> values) {
|
|
2448
|
+
internalGetMutableHypervisors().getMutableMap()
|
|
2449
|
+
.putAll(values);
|
|
2450
|
+
bitField0_ |= 0x00002000;
|
|
2451
|
+
return this;
|
|
2452
|
+
}
|
|
2453
|
+
@java.lang.Override
|
|
2454
|
+
public final Builder setUnknownFields(
|
|
2455
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
2456
|
+
return super.setUnknownFields(unknownFields);
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
@java.lang.Override
|
|
2460
|
+
public final Builder mergeUnknownFields(
|
|
2461
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
2462
|
+
return super.mergeUnknownFields(unknownFields);
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.EsxiCluster)
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.EsxiCluster)
|
|
2470
|
+
private static final com.lansweeper.dp.outbound.v1.EsxiCluster DEFAULT_INSTANCE;
|
|
2471
|
+
static {
|
|
2472
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.EsxiCluster();
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
public static com.lansweeper.dp.outbound.v1.EsxiCluster getDefaultInstance() {
|
|
2476
|
+
return DEFAULT_INSTANCE;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
private static final com.google.protobuf.Parser<EsxiCluster>
|
|
2480
|
+
PARSER = new com.google.protobuf.AbstractParser<EsxiCluster>() {
|
|
2481
|
+
@java.lang.Override
|
|
2482
|
+
public EsxiCluster parsePartialFrom(
|
|
2483
|
+
com.google.protobuf.CodedInputStream input,
|
|
2484
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
2485
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
2486
|
+
Builder builder = newBuilder();
|
|
2487
|
+
try {
|
|
2488
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
2489
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
2490
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
2491
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
2492
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
2493
|
+
} catch (java.io.IOException e) {
|
|
2494
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
2495
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
2496
|
+
}
|
|
2497
|
+
return builder.buildPartial();
|
|
2498
|
+
}
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2501
|
+
public static com.google.protobuf.Parser<EsxiCluster> parser() {
|
|
2502
|
+
return PARSER;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
@java.lang.Override
|
|
2506
|
+
public com.google.protobuf.Parser<EsxiCluster> getParserForType() {
|
|
2507
|
+
return PARSER;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
@java.lang.Override
|
|
2511
|
+
public com.lansweeper.dp.outbound.v1.EsxiCluster getDefaultInstanceForType() {
|
|
2512
|
+
return DEFAULT_INSTANCE;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
}
|
|
2516
|
+
|