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