@lansweeper/data-platform-outbound-grpc 0.3.21 → 0.3.22
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 +595 -0
- package/gen-proto/outbound_pb.js +10520 -5772
- package/generated-go/outbound.pb.go +21226 -19856
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +105 -1
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +105 -1
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +2911 -620
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.java +1283 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.java +106 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.java +1673 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.java +146 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.java +1516 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.java +129 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.java +1843 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.java +168 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.java +1304 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.java +111 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.java +2076 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.java +165 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.java +1940 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.java +179 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.java +731 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +159 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.java +1508 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.java +129 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFields.java +169 -12
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +17 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3390 -3200
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +36 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +18 -0
- package/model/target/{outbound-model-0.3.20-sources.jar → outbound-model-0.3.21-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.20.jar → outbound-model-0.3.21.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +105 -1
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.20-sources.jar → outbound-service-0.3.21-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.20.jar → outbound-service-0.3.21.jar} +0 -0
|
@@ -0,0 +1,1283 @@
|
|
|
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
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume}
|
|
9
|
+
*/
|
|
10
|
+
public final class ComputerLinuxLogicalVolume extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)
|
|
13
|
+
ComputerLinuxLogicalVolumeOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use ComputerLinuxLogicalVolume.newBuilder() to construct.
|
|
16
|
+
private ComputerLinuxLogicalVolume(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private ComputerLinuxLogicalVolume() {
|
|
20
|
+
relatedGroup_ = "";
|
|
21
|
+
name_ = "";
|
|
22
|
+
uuid_ = "";
|
|
23
|
+
deviceMapperPath_ = "";
|
|
24
|
+
blockDevice_ = "";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@java.lang.Override
|
|
28
|
+
@SuppressWarnings({"unused"})
|
|
29
|
+
protected java.lang.Object newInstance(
|
|
30
|
+
UnusedPrivateParameter unused) {
|
|
31
|
+
return new ComputerLinuxLogicalVolume();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
35
|
+
getDescriptor() {
|
|
36
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxLogicalVolume_descriptor;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@java.lang.Override
|
|
40
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
41
|
+
internalGetFieldAccessorTable() {
|
|
42
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxLogicalVolume_fieldAccessorTable
|
|
43
|
+
.ensureFieldAccessorsInitialized(
|
|
44
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.class, com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.Builder.class);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
private int bitField0_;
|
|
48
|
+
public static final int RELATED_GROUP_FIELD_NUMBER = 1;
|
|
49
|
+
@SuppressWarnings("serial")
|
|
50
|
+
private volatile java.lang.Object relatedGroup_ = "";
|
|
51
|
+
/**
|
|
52
|
+
* <code>optional string related_group = 1;</code>
|
|
53
|
+
* @return Whether the relatedGroup field is set.
|
|
54
|
+
*/
|
|
55
|
+
@java.lang.Override
|
|
56
|
+
public boolean hasRelatedGroup() {
|
|
57
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <code>optional string related_group = 1;</code>
|
|
61
|
+
* @return The relatedGroup.
|
|
62
|
+
*/
|
|
63
|
+
@java.lang.Override
|
|
64
|
+
public java.lang.String getRelatedGroup() {
|
|
65
|
+
java.lang.Object ref = relatedGroup_;
|
|
66
|
+
if (ref instanceof java.lang.String) {
|
|
67
|
+
return (java.lang.String) ref;
|
|
68
|
+
} else {
|
|
69
|
+
com.google.protobuf.ByteString bs =
|
|
70
|
+
(com.google.protobuf.ByteString) ref;
|
|
71
|
+
java.lang.String s = bs.toStringUtf8();
|
|
72
|
+
relatedGroup_ = s;
|
|
73
|
+
return s;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <code>optional string related_group = 1;</code>
|
|
78
|
+
* @return The bytes for relatedGroup.
|
|
79
|
+
*/
|
|
80
|
+
@java.lang.Override
|
|
81
|
+
public com.google.protobuf.ByteString
|
|
82
|
+
getRelatedGroupBytes() {
|
|
83
|
+
java.lang.Object ref = relatedGroup_;
|
|
84
|
+
if (ref instanceof java.lang.String) {
|
|
85
|
+
com.google.protobuf.ByteString b =
|
|
86
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
87
|
+
(java.lang.String) ref);
|
|
88
|
+
relatedGroup_ = b;
|
|
89
|
+
return b;
|
|
90
|
+
} else {
|
|
91
|
+
return (com.google.protobuf.ByteString) ref;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public static final int NAME_FIELD_NUMBER = 2;
|
|
96
|
+
@SuppressWarnings("serial")
|
|
97
|
+
private volatile java.lang.Object name_ = "";
|
|
98
|
+
/**
|
|
99
|
+
* <code>optional string name = 2;</code>
|
|
100
|
+
* @return Whether the name field is set.
|
|
101
|
+
*/
|
|
102
|
+
@java.lang.Override
|
|
103
|
+
public boolean hasName() {
|
|
104
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <code>optional string name = 2;</code>
|
|
108
|
+
* @return The name.
|
|
109
|
+
*/
|
|
110
|
+
@java.lang.Override
|
|
111
|
+
public java.lang.String getName() {
|
|
112
|
+
java.lang.Object ref = name_;
|
|
113
|
+
if (ref instanceof java.lang.String) {
|
|
114
|
+
return (java.lang.String) ref;
|
|
115
|
+
} else {
|
|
116
|
+
com.google.protobuf.ByteString bs =
|
|
117
|
+
(com.google.protobuf.ByteString) ref;
|
|
118
|
+
java.lang.String s = bs.toStringUtf8();
|
|
119
|
+
name_ = s;
|
|
120
|
+
return s;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <code>optional string name = 2;</code>
|
|
125
|
+
* @return The bytes for name.
|
|
126
|
+
*/
|
|
127
|
+
@java.lang.Override
|
|
128
|
+
public com.google.protobuf.ByteString
|
|
129
|
+
getNameBytes() {
|
|
130
|
+
java.lang.Object ref = name_;
|
|
131
|
+
if (ref instanceof java.lang.String) {
|
|
132
|
+
com.google.protobuf.ByteString b =
|
|
133
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
134
|
+
(java.lang.String) ref);
|
|
135
|
+
name_ = b;
|
|
136
|
+
return b;
|
|
137
|
+
} else {
|
|
138
|
+
return (com.google.protobuf.ByteString) ref;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
public static final int UUID_FIELD_NUMBER = 3;
|
|
143
|
+
@SuppressWarnings("serial")
|
|
144
|
+
private volatile java.lang.Object uuid_ = "";
|
|
145
|
+
/**
|
|
146
|
+
* <code>optional string uuid = 3;</code>
|
|
147
|
+
* @return Whether the uuid field is set.
|
|
148
|
+
*/
|
|
149
|
+
@java.lang.Override
|
|
150
|
+
public boolean hasUuid() {
|
|
151
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* <code>optional string uuid = 3;</code>
|
|
155
|
+
* @return The uuid.
|
|
156
|
+
*/
|
|
157
|
+
@java.lang.Override
|
|
158
|
+
public java.lang.String getUuid() {
|
|
159
|
+
java.lang.Object ref = uuid_;
|
|
160
|
+
if (ref instanceof java.lang.String) {
|
|
161
|
+
return (java.lang.String) ref;
|
|
162
|
+
} else {
|
|
163
|
+
com.google.protobuf.ByteString bs =
|
|
164
|
+
(com.google.protobuf.ByteString) ref;
|
|
165
|
+
java.lang.String s = bs.toStringUtf8();
|
|
166
|
+
uuid_ = s;
|
|
167
|
+
return s;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* <code>optional string uuid = 3;</code>
|
|
172
|
+
* @return The bytes for uuid.
|
|
173
|
+
*/
|
|
174
|
+
@java.lang.Override
|
|
175
|
+
public com.google.protobuf.ByteString
|
|
176
|
+
getUuidBytes() {
|
|
177
|
+
java.lang.Object ref = uuid_;
|
|
178
|
+
if (ref instanceof java.lang.String) {
|
|
179
|
+
com.google.protobuf.ByteString b =
|
|
180
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
181
|
+
(java.lang.String) ref);
|
|
182
|
+
uuid_ = b;
|
|
183
|
+
return b;
|
|
184
|
+
} else {
|
|
185
|
+
return (com.google.protobuf.ByteString) ref;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
public static final int DEVICE_MAPPER_PATH_FIELD_NUMBER = 4;
|
|
190
|
+
@SuppressWarnings("serial")
|
|
191
|
+
private volatile java.lang.Object deviceMapperPath_ = "";
|
|
192
|
+
/**
|
|
193
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
194
|
+
* @return Whether the deviceMapperPath field is set.
|
|
195
|
+
*/
|
|
196
|
+
@java.lang.Override
|
|
197
|
+
public boolean hasDeviceMapperPath() {
|
|
198
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
202
|
+
* @return The deviceMapperPath.
|
|
203
|
+
*/
|
|
204
|
+
@java.lang.Override
|
|
205
|
+
public java.lang.String getDeviceMapperPath() {
|
|
206
|
+
java.lang.Object ref = deviceMapperPath_;
|
|
207
|
+
if (ref instanceof java.lang.String) {
|
|
208
|
+
return (java.lang.String) ref;
|
|
209
|
+
} else {
|
|
210
|
+
com.google.protobuf.ByteString bs =
|
|
211
|
+
(com.google.protobuf.ByteString) ref;
|
|
212
|
+
java.lang.String s = bs.toStringUtf8();
|
|
213
|
+
deviceMapperPath_ = s;
|
|
214
|
+
return s;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
219
|
+
* @return The bytes for deviceMapperPath.
|
|
220
|
+
*/
|
|
221
|
+
@java.lang.Override
|
|
222
|
+
public com.google.protobuf.ByteString
|
|
223
|
+
getDeviceMapperPathBytes() {
|
|
224
|
+
java.lang.Object ref = deviceMapperPath_;
|
|
225
|
+
if (ref instanceof java.lang.String) {
|
|
226
|
+
com.google.protobuf.ByteString b =
|
|
227
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
228
|
+
(java.lang.String) ref);
|
|
229
|
+
deviceMapperPath_ = b;
|
|
230
|
+
return b;
|
|
231
|
+
} else {
|
|
232
|
+
return (com.google.protobuf.ByteString) ref;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
public static final int SIZE_FIELD_NUMBER = 5;
|
|
237
|
+
private long size_ = 0L;
|
|
238
|
+
/**
|
|
239
|
+
* <code>optional int64 size = 5;</code>
|
|
240
|
+
* @return Whether the size field is set.
|
|
241
|
+
*/
|
|
242
|
+
@java.lang.Override
|
|
243
|
+
public boolean hasSize() {
|
|
244
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* <code>optional int64 size = 5;</code>
|
|
248
|
+
* @return The size.
|
|
249
|
+
*/
|
|
250
|
+
@java.lang.Override
|
|
251
|
+
public long getSize() {
|
|
252
|
+
return size_;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
public static final int BLOCK_DEVICE_FIELD_NUMBER = 6;
|
|
256
|
+
@SuppressWarnings("serial")
|
|
257
|
+
private volatile java.lang.Object blockDevice_ = "";
|
|
258
|
+
/**
|
|
259
|
+
* <code>optional string block_device = 6;</code>
|
|
260
|
+
* @return Whether the blockDevice field is set.
|
|
261
|
+
*/
|
|
262
|
+
@java.lang.Override
|
|
263
|
+
public boolean hasBlockDevice() {
|
|
264
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* <code>optional string block_device = 6;</code>
|
|
268
|
+
* @return The blockDevice.
|
|
269
|
+
*/
|
|
270
|
+
@java.lang.Override
|
|
271
|
+
public java.lang.String getBlockDevice() {
|
|
272
|
+
java.lang.Object ref = blockDevice_;
|
|
273
|
+
if (ref instanceof java.lang.String) {
|
|
274
|
+
return (java.lang.String) ref;
|
|
275
|
+
} else {
|
|
276
|
+
com.google.protobuf.ByteString bs =
|
|
277
|
+
(com.google.protobuf.ByteString) ref;
|
|
278
|
+
java.lang.String s = bs.toStringUtf8();
|
|
279
|
+
blockDevice_ = s;
|
|
280
|
+
return s;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* <code>optional string block_device = 6;</code>
|
|
285
|
+
* @return The bytes for blockDevice.
|
|
286
|
+
*/
|
|
287
|
+
@java.lang.Override
|
|
288
|
+
public com.google.protobuf.ByteString
|
|
289
|
+
getBlockDeviceBytes() {
|
|
290
|
+
java.lang.Object ref = blockDevice_;
|
|
291
|
+
if (ref instanceof java.lang.String) {
|
|
292
|
+
com.google.protobuf.ByteString b =
|
|
293
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
294
|
+
(java.lang.String) ref);
|
|
295
|
+
blockDevice_ = b;
|
|
296
|
+
return b;
|
|
297
|
+
} else {
|
|
298
|
+
return (com.google.protobuf.ByteString) ref;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
private byte memoizedIsInitialized = -1;
|
|
303
|
+
@java.lang.Override
|
|
304
|
+
public final boolean isInitialized() {
|
|
305
|
+
byte isInitialized = memoizedIsInitialized;
|
|
306
|
+
if (isInitialized == 1) return true;
|
|
307
|
+
if (isInitialized == 0) return false;
|
|
308
|
+
|
|
309
|
+
memoizedIsInitialized = 1;
|
|
310
|
+
return true;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@java.lang.Override
|
|
314
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
315
|
+
throws java.io.IOException {
|
|
316
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
317
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, relatedGroup_);
|
|
318
|
+
}
|
|
319
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
320
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
|
|
321
|
+
}
|
|
322
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
323
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
|
|
324
|
+
}
|
|
325
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
326
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deviceMapperPath_);
|
|
327
|
+
}
|
|
328
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
329
|
+
output.writeInt64(5, size_);
|
|
330
|
+
}
|
|
331
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
332
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, blockDevice_);
|
|
333
|
+
}
|
|
334
|
+
getUnknownFields().writeTo(output);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@java.lang.Override
|
|
338
|
+
public int getSerializedSize() {
|
|
339
|
+
int size = memoizedSize;
|
|
340
|
+
if (size != -1) return size;
|
|
341
|
+
|
|
342
|
+
size = 0;
|
|
343
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
344
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, relatedGroup_);
|
|
345
|
+
}
|
|
346
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
347
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
|
|
348
|
+
}
|
|
349
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
350
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
|
|
351
|
+
}
|
|
352
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
353
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deviceMapperPath_);
|
|
354
|
+
}
|
|
355
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
356
|
+
size += com.google.protobuf.CodedOutputStream
|
|
357
|
+
.computeInt64Size(5, size_);
|
|
358
|
+
}
|
|
359
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
360
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, blockDevice_);
|
|
361
|
+
}
|
|
362
|
+
size += getUnknownFields().getSerializedSize();
|
|
363
|
+
memoizedSize = size;
|
|
364
|
+
return size;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@java.lang.Override
|
|
368
|
+
public boolean equals(final java.lang.Object obj) {
|
|
369
|
+
if (obj == this) {
|
|
370
|
+
return true;
|
|
371
|
+
}
|
|
372
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)) {
|
|
373
|
+
return super.equals(obj);
|
|
374
|
+
}
|
|
375
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume other = (com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume) obj;
|
|
376
|
+
|
|
377
|
+
if (hasRelatedGroup() != other.hasRelatedGroup()) return false;
|
|
378
|
+
if (hasRelatedGroup()) {
|
|
379
|
+
if (!getRelatedGroup()
|
|
380
|
+
.equals(other.getRelatedGroup())) return false;
|
|
381
|
+
}
|
|
382
|
+
if (hasName() != other.hasName()) return false;
|
|
383
|
+
if (hasName()) {
|
|
384
|
+
if (!getName()
|
|
385
|
+
.equals(other.getName())) return false;
|
|
386
|
+
}
|
|
387
|
+
if (hasUuid() != other.hasUuid()) return false;
|
|
388
|
+
if (hasUuid()) {
|
|
389
|
+
if (!getUuid()
|
|
390
|
+
.equals(other.getUuid())) return false;
|
|
391
|
+
}
|
|
392
|
+
if (hasDeviceMapperPath() != other.hasDeviceMapperPath()) return false;
|
|
393
|
+
if (hasDeviceMapperPath()) {
|
|
394
|
+
if (!getDeviceMapperPath()
|
|
395
|
+
.equals(other.getDeviceMapperPath())) return false;
|
|
396
|
+
}
|
|
397
|
+
if (hasSize() != other.hasSize()) return false;
|
|
398
|
+
if (hasSize()) {
|
|
399
|
+
if (getSize()
|
|
400
|
+
!= other.getSize()) return false;
|
|
401
|
+
}
|
|
402
|
+
if (hasBlockDevice() != other.hasBlockDevice()) return false;
|
|
403
|
+
if (hasBlockDevice()) {
|
|
404
|
+
if (!getBlockDevice()
|
|
405
|
+
.equals(other.getBlockDevice())) return false;
|
|
406
|
+
}
|
|
407
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
408
|
+
return true;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@java.lang.Override
|
|
412
|
+
public int hashCode() {
|
|
413
|
+
if (memoizedHashCode != 0) {
|
|
414
|
+
return memoizedHashCode;
|
|
415
|
+
}
|
|
416
|
+
int hash = 41;
|
|
417
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
418
|
+
if (hasRelatedGroup()) {
|
|
419
|
+
hash = (37 * hash) + RELATED_GROUP_FIELD_NUMBER;
|
|
420
|
+
hash = (53 * hash) + getRelatedGroup().hashCode();
|
|
421
|
+
}
|
|
422
|
+
if (hasName()) {
|
|
423
|
+
hash = (37 * hash) + NAME_FIELD_NUMBER;
|
|
424
|
+
hash = (53 * hash) + getName().hashCode();
|
|
425
|
+
}
|
|
426
|
+
if (hasUuid()) {
|
|
427
|
+
hash = (37 * hash) + UUID_FIELD_NUMBER;
|
|
428
|
+
hash = (53 * hash) + getUuid().hashCode();
|
|
429
|
+
}
|
|
430
|
+
if (hasDeviceMapperPath()) {
|
|
431
|
+
hash = (37 * hash) + DEVICE_MAPPER_PATH_FIELD_NUMBER;
|
|
432
|
+
hash = (53 * hash) + getDeviceMapperPath().hashCode();
|
|
433
|
+
}
|
|
434
|
+
if (hasSize()) {
|
|
435
|
+
hash = (37 * hash) + SIZE_FIELD_NUMBER;
|
|
436
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
437
|
+
getSize());
|
|
438
|
+
}
|
|
439
|
+
if (hasBlockDevice()) {
|
|
440
|
+
hash = (37 * hash) + BLOCK_DEVICE_FIELD_NUMBER;
|
|
441
|
+
hash = (53 * hash) + getBlockDevice().hashCode();
|
|
442
|
+
}
|
|
443
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
444
|
+
memoizedHashCode = hash;
|
|
445
|
+
return hash;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
449
|
+
java.nio.ByteBuffer data)
|
|
450
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
451
|
+
return PARSER.parseFrom(data);
|
|
452
|
+
}
|
|
453
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
454
|
+
java.nio.ByteBuffer data,
|
|
455
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
456
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
457
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
458
|
+
}
|
|
459
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
460
|
+
com.google.protobuf.ByteString data)
|
|
461
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
462
|
+
return PARSER.parseFrom(data);
|
|
463
|
+
}
|
|
464
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
465
|
+
com.google.protobuf.ByteString data,
|
|
466
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
467
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
468
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
469
|
+
}
|
|
470
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(byte[] data)
|
|
471
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
472
|
+
return PARSER.parseFrom(data);
|
|
473
|
+
}
|
|
474
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
475
|
+
byte[] data,
|
|
476
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
477
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
478
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
479
|
+
}
|
|
480
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(java.io.InputStream input)
|
|
481
|
+
throws java.io.IOException {
|
|
482
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
483
|
+
.parseWithIOException(PARSER, input);
|
|
484
|
+
}
|
|
485
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
486
|
+
java.io.InputStream input,
|
|
487
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
488
|
+
throws java.io.IOException {
|
|
489
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
490
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseDelimitedFrom(java.io.InputStream input)
|
|
494
|
+
throws java.io.IOException {
|
|
495
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
496
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseDelimitedFrom(
|
|
500
|
+
java.io.InputStream input,
|
|
501
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
502
|
+
throws java.io.IOException {
|
|
503
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
504
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
505
|
+
}
|
|
506
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
507
|
+
com.google.protobuf.CodedInputStream input)
|
|
508
|
+
throws java.io.IOException {
|
|
509
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
510
|
+
.parseWithIOException(PARSER, input);
|
|
511
|
+
}
|
|
512
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume parseFrom(
|
|
513
|
+
com.google.protobuf.CodedInputStream input,
|
|
514
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
515
|
+
throws java.io.IOException {
|
|
516
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
517
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@java.lang.Override
|
|
521
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
522
|
+
public static Builder newBuilder() {
|
|
523
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
524
|
+
}
|
|
525
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume prototype) {
|
|
526
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
527
|
+
}
|
|
528
|
+
@java.lang.Override
|
|
529
|
+
public Builder toBuilder() {
|
|
530
|
+
return this == DEFAULT_INSTANCE
|
|
531
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
@java.lang.Override
|
|
535
|
+
protected Builder newBuilderForType(
|
|
536
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
537
|
+
Builder builder = new Builder(parent);
|
|
538
|
+
return builder;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume}
|
|
542
|
+
*/
|
|
543
|
+
public static final class Builder extends
|
|
544
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
545
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)
|
|
546
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolumeOrBuilder {
|
|
547
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
548
|
+
getDescriptor() {
|
|
549
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxLogicalVolume_descriptor;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
@java.lang.Override
|
|
553
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
554
|
+
internalGetFieldAccessorTable() {
|
|
555
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxLogicalVolume_fieldAccessorTable
|
|
556
|
+
.ensureFieldAccessorsInitialized(
|
|
557
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.class, com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.Builder.class);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// Construct using com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.newBuilder()
|
|
561
|
+
private Builder() {
|
|
562
|
+
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
private Builder(
|
|
566
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
567
|
+
super(parent);
|
|
568
|
+
|
|
569
|
+
}
|
|
570
|
+
@java.lang.Override
|
|
571
|
+
public Builder clear() {
|
|
572
|
+
super.clear();
|
|
573
|
+
bitField0_ = 0;
|
|
574
|
+
relatedGroup_ = "";
|
|
575
|
+
name_ = "";
|
|
576
|
+
uuid_ = "";
|
|
577
|
+
deviceMapperPath_ = "";
|
|
578
|
+
size_ = 0L;
|
|
579
|
+
blockDevice_ = "";
|
|
580
|
+
return this;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
@java.lang.Override
|
|
584
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
585
|
+
getDescriptorForType() {
|
|
586
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxLogicalVolume_descriptor;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@java.lang.Override
|
|
590
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume getDefaultInstanceForType() {
|
|
591
|
+
return com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.getDefaultInstance();
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
@java.lang.Override
|
|
595
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume build() {
|
|
596
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume result = buildPartial();
|
|
597
|
+
if (!result.isInitialized()) {
|
|
598
|
+
throw newUninitializedMessageException(result);
|
|
599
|
+
}
|
|
600
|
+
return result;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
@java.lang.Override
|
|
604
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume buildPartial() {
|
|
605
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume result = new com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume(this);
|
|
606
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
607
|
+
onBuilt();
|
|
608
|
+
return result;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume result) {
|
|
612
|
+
int from_bitField0_ = bitField0_;
|
|
613
|
+
int to_bitField0_ = 0;
|
|
614
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
615
|
+
result.relatedGroup_ = relatedGroup_;
|
|
616
|
+
to_bitField0_ |= 0x00000001;
|
|
617
|
+
}
|
|
618
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
619
|
+
result.name_ = name_;
|
|
620
|
+
to_bitField0_ |= 0x00000002;
|
|
621
|
+
}
|
|
622
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
623
|
+
result.uuid_ = uuid_;
|
|
624
|
+
to_bitField0_ |= 0x00000004;
|
|
625
|
+
}
|
|
626
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
627
|
+
result.deviceMapperPath_ = deviceMapperPath_;
|
|
628
|
+
to_bitField0_ |= 0x00000008;
|
|
629
|
+
}
|
|
630
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
631
|
+
result.size_ = size_;
|
|
632
|
+
to_bitField0_ |= 0x00000010;
|
|
633
|
+
}
|
|
634
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
635
|
+
result.blockDevice_ = blockDevice_;
|
|
636
|
+
to_bitField0_ |= 0x00000020;
|
|
637
|
+
}
|
|
638
|
+
result.bitField0_ |= to_bitField0_;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
@java.lang.Override
|
|
642
|
+
public Builder clone() {
|
|
643
|
+
return super.clone();
|
|
644
|
+
}
|
|
645
|
+
@java.lang.Override
|
|
646
|
+
public Builder setField(
|
|
647
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
648
|
+
java.lang.Object value) {
|
|
649
|
+
return super.setField(field, value);
|
|
650
|
+
}
|
|
651
|
+
@java.lang.Override
|
|
652
|
+
public Builder clearField(
|
|
653
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
654
|
+
return super.clearField(field);
|
|
655
|
+
}
|
|
656
|
+
@java.lang.Override
|
|
657
|
+
public Builder clearOneof(
|
|
658
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
659
|
+
return super.clearOneof(oneof);
|
|
660
|
+
}
|
|
661
|
+
@java.lang.Override
|
|
662
|
+
public Builder setRepeatedField(
|
|
663
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
664
|
+
int index, java.lang.Object value) {
|
|
665
|
+
return super.setRepeatedField(field, index, value);
|
|
666
|
+
}
|
|
667
|
+
@java.lang.Override
|
|
668
|
+
public Builder addRepeatedField(
|
|
669
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
670
|
+
java.lang.Object value) {
|
|
671
|
+
return super.addRepeatedField(field, value);
|
|
672
|
+
}
|
|
673
|
+
@java.lang.Override
|
|
674
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
675
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume) {
|
|
676
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)other);
|
|
677
|
+
} else {
|
|
678
|
+
super.mergeFrom(other);
|
|
679
|
+
return this;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume other) {
|
|
684
|
+
if (other == com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume.getDefaultInstance()) return this;
|
|
685
|
+
if (other.hasRelatedGroup()) {
|
|
686
|
+
relatedGroup_ = other.relatedGroup_;
|
|
687
|
+
bitField0_ |= 0x00000001;
|
|
688
|
+
onChanged();
|
|
689
|
+
}
|
|
690
|
+
if (other.hasName()) {
|
|
691
|
+
name_ = other.name_;
|
|
692
|
+
bitField0_ |= 0x00000002;
|
|
693
|
+
onChanged();
|
|
694
|
+
}
|
|
695
|
+
if (other.hasUuid()) {
|
|
696
|
+
uuid_ = other.uuid_;
|
|
697
|
+
bitField0_ |= 0x00000004;
|
|
698
|
+
onChanged();
|
|
699
|
+
}
|
|
700
|
+
if (other.hasDeviceMapperPath()) {
|
|
701
|
+
deviceMapperPath_ = other.deviceMapperPath_;
|
|
702
|
+
bitField0_ |= 0x00000008;
|
|
703
|
+
onChanged();
|
|
704
|
+
}
|
|
705
|
+
if (other.hasSize()) {
|
|
706
|
+
setSize(other.getSize());
|
|
707
|
+
}
|
|
708
|
+
if (other.hasBlockDevice()) {
|
|
709
|
+
blockDevice_ = other.blockDevice_;
|
|
710
|
+
bitField0_ |= 0x00000020;
|
|
711
|
+
onChanged();
|
|
712
|
+
}
|
|
713
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
714
|
+
onChanged();
|
|
715
|
+
return this;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
@java.lang.Override
|
|
719
|
+
public final boolean isInitialized() {
|
|
720
|
+
return true;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
@java.lang.Override
|
|
724
|
+
public Builder mergeFrom(
|
|
725
|
+
com.google.protobuf.CodedInputStream input,
|
|
726
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
727
|
+
throws java.io.IOException {
|
|
728
|
+
if (extensionRegistry == null) {
|
|
729
|
+
throw new java.lang.NullPointerException();
|
|
730
|
+
}
|
|
731
|
+
try {
|
|
732
|
+
boolean done = false;
|
|
733
|
+
while (!done) {
|
|
734
|
+
int tag = input.readTag();
|
|
735
|
+
switch (tag) {
|
|
736
|
+
case 0:
|
|
737
|
+
done = true;
|
|
738
|
+
break;
|
|
739
|
+
case 10: {
|
|
740
|
+
relatedGroup_ = input.readStringRequireUtf8();
|
|
741
|
+
bitField0_ |= 0x00000001;
|
|
742
|
+
break;
|
|
743
|
+
} // case 10
|
|
744
|
+
case 18: {
|
|
745
|
+
name_ = input.readStringRequireUtf8();
|
|
746
|
+
bitField0_ |= 0x00000002;
|
|
747
|
+
break;
|
|
748
|
+
} // case 18
|
|
749
|
+
case 26: {
|
|
750
|
+
uuid_ = input.readStringRequireUtf8();
|
|
751
|
+
bitField0_ |= 0x00000004;
|
|
752
|
+
break;
|
|
753
|
+
} // case 26
|
|
754
|
+
case 34: {
|
|
755
|
+
deviceMapperPath_ = input.readStringRequireUtf8();
|
|
756
|
+
bitField0_ |= 0x00000008;
|
|
757
|
+
break;
|
|
758
|
+
} // case 34
|
|
759
|
+
case 40: {
|
|
760
|
+
size_ = input.readInt64();
|
|
761
|
+
bitField0_ |= 0x00000010;
|
|
762
|
+
break;
|
|
763
|
+
} // case 40
|
|
764
|
+
case 50: {
|
|
765
|
+
blockDevice_ = input.readStringRequireUtf8();
|
|
766
|
+
bitField0_ |= 0x00000020;
|
|
767
|
+
break;
|
|
768
|
+
} // case 50
|
|
769
|
+
default: {
|
|
770
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
771
|
+
done = true; // was an endgroup tag
|
|
772
|
+
}
|
|
773
|
+
break;
|
|
774
|
+
} // default:
|
|
775
|
+
} // switch (tag)
|
|
776
|
+
} // while (!done)
|
|
777
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
778
|
+
throw e.unwrapIOException();
|
|
779
|
+
} finally {
|
|
780
|
+
onChanged();
|
|
781
|
+
} // finally
|
|
782
|
+
return this;
|
|
783
|
+
}
|
|
784
|
+
private int bitField0_;
|
|
785
|
+
|
|
786
|
+
private java.lang.Object relatedGroup_ = "";
|
|
787
|
+
/**
|
|
788
|
+
* <code>optional string related_group = 1;</code>
|
|
789
|
+
* @return Whether the relatedGroup field is set.
|
|
790
|
+
*/
|
|
791
|
+
public boolean hasRelatedGroup() {
|
|
792
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* <code>optional string related_group = 1;</code>
|
|
796
|
+
* @return The relatedGroup.
|
|
797
|
+
*/
|
|
798
|
+
public java.lang.String getRelatedGroup() {
|
|
799
|
+
java.lang.Object ref = relatedGroup_;
|
|
800
|
+
if (!(ref instanceof java.lang.String)) {
|
|
801
|
+
com.google.protobuf.ByteString bs =
|
|
802
|
+
(com.google.protobuf.ByteString) ref;
|
|
803
|
+
java.lang.String s = bs.toStringUtf8();
|
|
804
|
+
relatedGroup_ = s;
|
|
805
|
+
return s;
|
|
806
|
+
} else {
|
|
807
|
+
return (java.lang.String) ref;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* <code>optional string related_group = 1;</code>
|
|
812
|
+
* @return The bytes for relatedGroup.
|
|
813
|
+
*/
|
|
814
|
+
public com.google.protobuf.ByteString
|
|
815
|
+
getRelatedGroupBytes() {
|
|
816
|
+
java.lang.Object ref = relatedGroup_;
|
|
817
|
+
if (ref instanceof String) {
|
|
818
|
+
com.google.protobuf.ByteString b =
|
|
819
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
820
|
+
(java.lang.String) ref);
|
|
821
|
+
relatedGroup_ = b;
|
|
822
|
+
return b;
|
|
823
|
+
} else {
|
|
824
|
+
return (com.google.protobuf.ByteString) ref;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* <code>optional string related_group = 1;</code>
|
|
829
|
+
* @param value The relatedGroup to set.
|
|
830
|
+
* @return This builder for chaining.
|
|
831
|
+
*/
|
|
832
|
+
public Builder setRelatedGroup(
|
|
833
|
+
java.lang.String value) {
|
|
834
|
+
if (value == null) { throw new NullPointerException(); }
|
|
835
|
+
relatedGroup_ = value;
|
|
836
|
+
bitField0_ |= 0x00000001;
|
|
837
|
+
onChanged();
|
|
838
|
+
return this;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* <code>optional string related_group = 1;</code>
|
|
842
|
+
* @return This builder for chaining.
|
|
843
|
+
*/
|
|
844
|
+
public Builder clearRelatedGroup() {
|
|
845
|
+
relatedGroup_ = getDefaultInstance().getRelatedGroup();
|
|
846
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
847
|
+
onChanged();
|
|
848
|
+
return this;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* <code>optional string related_group = 1;</code>
|
|
852
|
+
* @param value The bytes for relatedGroup to set.
|
|
853
|
+
* @return This builder for chaining.
|
|
854
|
+
*/
|
|
855
|
+
public Builder setRelatedGroupBytes(
|
|
856
|
+
com.google.protobuf.ByteString value) {
|
|
857
|
+
if (value == null) { throw new NullPointerException(); }
|
|
858
|
+
checkByteStringIsUtf8(value);
|
|
859
|
+
relatedGroup_ = value;
|
|
860
|
+
bitField0_ |= 0x00000001;
|
|
861
|
+
onChanged();
|
|
862
|
+
return this;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
private java.lang.Object name_ = "";
|
|
866
|
+
/**
|
|
867
|
+
* <code>optional string name = 2;</code>
|
|
868
|
+
* @return Whether the name field is set.
|
|
869
|
+
*/
|
|
870
|
+
public boolean hasName() {
|
|
871
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* <code>optional string name = 2;</code>
|
|
875
|
+
* @return The name.
|
|
876
|
+
*/
|
|
877
|
+
public java.lang.String getName() {
|
|
878
|
+
java.lang.Object ref = name_;
|
|
879
|
+
if (!(ref instanceof java.lang.String)) {
|
|
880
|
+
com.google.protobuf.ByteString bs =
|
|
881
|
+
(com.google.protobuf.ByteString) ref;
|
|
882
|
+
java.lang.String s = bs.toStringUtf8();
|
|
883
|
+
name_ = s;
|
|
884
|
+
return s;
|
|
885
|
+
} else {
|
|
886
|
+
return (java.lang.String) ref;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* <code>optional string name = 2;</code>
|
|
891
|
+
* @return The bytes for name.
|
|
892
|
+
*/
|
|
893
|
+
public com.google.protobuf.ByteString
|
|
894
|
+
getNameBytes() {
|
|
895
|
+
java.lang.Object ref = name_;
|
|
896
|
+
if (ref instanceof String) {
|
|
897
|
+
com.google.protobuf.ByteString b =
|
|
898
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
899
|
+
(java.lang.String) ref);
|
|
900
|
+
name_ = b;
|
|
901
|
+
return b;
|
|
902
|
+
} else {
|
|
903
|
+
return (com.google.protobuf.ByteString) ref;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* <code>optional string name = 2;</code>
|
|
908
|
+
* @param value The name to set.
|
|
909
|
+
* @return This builder for chaining.
|
|
910
|
+
*/
|
|
911
|
+
public Builder setName(
|
|
912
|
+
java.lang.String value) {
|
|
913
|
+
if (value == null) { throw new NullPointerException(); }
|
|
914
|
+
name_ = value;
|
|
915
|
+
bitField0_ |= 0x00000002;
|
|
916
|
+
onChanged();
|
|
917
|
+
return this;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* <code>optional string name = 2;</code>
|
|
921
|
+
* @return This builder for chaining.
|
|
922
|
+
*/
|
|
923
|
+
public Builder clearName() {
|
|
924
|
+
name_ = getDefaultInstance().getName();
|
|
925
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
926
|
+
onChanged();
|
|
927
|
+
return this;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* <code>optional string name = 2;</code>
|
|
931
|
+
* @param value The bytes for name to set.
|
|
932
|
+
* @return This builder for chaining.
|
|
933
|
+
*/
|
|
934
|
+
public Builder setNameBytes(
|
|
935
|
+
com.google.protobuf.ByteString value) {
|
|
936
|
+
if (value == null) { throw new NullPointerException(); }
|
|
937
|
+
checkByteStringIsUtf8(value);
|
|
938
|
+
name_ = value;
|
|
939
|
+
bitField0_ |= 0x00000002;
|
|
940
|
+
onChanged();
|
|
941
|
+
return this;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
private java.lang.Object uuid_ = "";
|
|
945
|
+
/**
|
|
946
|
+
* <code>optional string uuid = 3;</code>
|
|
947
|
+
* @return Whether the uuid field is set.
|
|
948
|
+
*/
|
|
949
|
+
public boolean hasUuid() {
|
|
950
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* <code>optional string uuid = 3;</code>
|
|
954
|
+
* @return The uuid.
|
|
955
|
+
*/
|
|
956
|
+
public java.lang.String getUuid() {
|
|
957
|
+
java.lang.Object ref = uuid_;
|
|
958
|
+
if (!(ref instanceof java.lang.String)) {
|
|
959
|
+
com.google.protobuf.ByteString bs =
|
|
960
|
+
(com.google.protobuf.ByteString) ref;
|
|
961
|
+
java.lang.String s = bs.toStringUtf8();
|
|
962
|
+
uuid_ = s;
|
|
963
|
+
return s;
|
|
964
|
+
} else {
|
|
965
|
+
return (java.lang.String) ref;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* <code>optional string uuid = 3;</code>
|
|
970
|
+
* @return The bytes for uuid.
|
|
971
|
+
*/
|
|
972
|
+
public com.google.protobuf.ByteString
|
|
973
|
+
getUuidBytes() {
|
|
974
|
+
java.lang.Object ref = uuid_;
|
|
975
|
+
if (ref instanceof String) {
|
|
976
|
+
com.google.protobuf.ByteString b =
|
|
977
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
978
|
+
(java.lang.String) ref);
|
|
979
|
+
uuid_ = b;
|
|
980
|
+
return b;
|
|
981
|
+
} else {
|
|
982
|
+
return (com.google.protobuf.ByteString) ref;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* <code>optional string uuid = 3;</code>
|
|
987
|
+
* @param value The uuid to set.
|
|
988
|
+
* @return This builder for chaining.
|
|
989
|
+
*/
|
|
990
|
+
public Builder setUuid(
|
|
991
|
+
java.lang.String value) {
|
|
992
|
+
if (value == null) { throw new NullPointerException(); }
|
|
993
|
+
uuid_ = value;
|
|
994
|
+
bitField0_ |= 0x00000004;
|
|
995
|
+
onChanged();
|
|
996
|
+
return this;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* <code>optional string uuid = 3;</code>
|
|
1000
|
+
* @return This builder for chaining.
|
|
1001
|
+
*/
|
|
1002
|
+
public Builder clearUuid() {
|
|
1003
|
+
uuid_ = getDefaultInstance().getUuid();
|
|
1004
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1005
|
+
onChanged();
|
|
1006
|
+
return this;
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* <code>optional string uuid = 3;</code>
|
|
1010
|
+
* @param value The bytes for uuid to set.
|
|
1011
|
+
* @return This builder for chaining.
|
|
1012
|
+
*/
|
|
1013
|
+
public Builder setUuidBytes(
|
|
1014
|
+
com.google.protobuf.ByteString value) {
|
|
1015
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1016
|
+
checkByteStringIsUtf8(value);
|
|
1017
|
+
uuid_ = value;
|
|
1018
|
+
bitField0_ |= 0x00000004;
|
|
1019
|
+
onChanged();
|
|
1020
|
+
return this;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
private java.lang.Object deviceMapperPath_ = "";
|
|
1024
|
+
/**
|
|
1025
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1026
|
+
* @return Whether the deviceMapperPath field is set.
|
|
1027
|
+
*/
|
|
1028
|
+
public boolean hasDeviceMapperPath() {
|
|
1029
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1033
|
+
* @return The deviceMapperPath.
|
|
1034
|
+
*/
|
|
1035
|
+
public java.lang.String getDeviceMapperPath() {
|
|
1036
|
+
java.lang.Object ref = deviceMapperPath_;
|
|
1037
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1038
|
+
com.google.protobuf.ByteString bs =
|
|
1039
|
+
(com.google.protobuf.ByteString) ref;
|
|
1040
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1041
|
+
deviceMapperPath_ = s;
|
|
1042
|
+
return s;
|
|
1043
|
+
} else {
|
|
1044
|
+
return (java.lang.String) ref;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1049
|
+
* @return The bytes for deviceMapperPath.
|
|
1050
|
+
*/
|
|
1051
|
+
public com.google.protobuf.ByteString
|
|
1052
|
+
getDeviceMapperPathBytes() {
|
|
1053
|
+
java.lang.Object ref = deviceMapperPath_;
|
|
1054
|
+
if (ref instanceof String) {
|
|
1055
|
+
com.google.protobuf.ByteString b =
|
|
1056
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1057
|
+
(java.lang.String) ref);
|
|
1058
|
+
deviceMapperPath_ = b;
|
|
1059
|
+
return b;
|
|
1060
|
+
} else {
|
|
1061
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1066
|
+
* @param value The deviceMapperPath to set.
|
|
1067
|
+
* @return This builder for chaining.
|
|
1068
|
+
*/
|
|
1069
|
+
public Builder setDeviceMapperPath(
|
|
1070
|
+
java.lang.String value) {
|
|
1071
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1072
|
+
deviceMapperPath_ = value;
|
|
1073
|
+
bitField0_ |= 0x00000008;
|
|
1074
|
+
onChanged();
|
|
1075
|
+
return this;
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1079
|
+
* @return This builder for chaining.
|
|
1080
|
+
*/
|
|
1081
|
+
public Builder clearDeviceMapperPath() {
|
|
1082
|
+
deviceMapperPath_ = getDefaultInstance().getDeviceMapperPath();
|
|
1083
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1084
|
+
onChanged();
|
|
1085
|
+
return this;
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* <code>optional string device_mapper_path = 4;</code>
|
|
1089
|
+
* @param value The bytes for deviceMapperPath to set.
|
|
1090
|
+
* @return This builder for chaining.
|
|
1091
|
+
*/
|
|
1092
|
+
public Builder setDeviceMapperPathBytes(
|
|
1093
|
+
com.google.protobuf.ByteString value) {
|
|
1094
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1095
|
+
checkByteStringIsUtf8(value);
|
|
1096
|
+
deviceMapperPath_ = value;
|
|
1097
|
+
bitField0_ |= 0x00000008;
|
|
1098
|
+
onChanged();
|
|
1099
|
+
return this;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
private long size_ ;
|
|
1103
|
+
/**
|
|
1104
|
+
* <code>optional int64 size = 5;</code>
|
|
1105
|
+
* @return Whether the size field is set.
|
|
1106
|
+
*/
|
|
1107
|
+
@java.lang.Override
|
|
1108
|
+
public boolean hasSize() {
|
|
1109
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* <code>optional int64 size = 5;</code>
|
|
1113
|
+
* @return The size.
|
|
1114
|
+
*/
|
|
1115
|
+
@java.lang.Override
|
|
1116
|
+
public long getSize() {
|
|
1117
|
+
return size_;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* <code>optional int64 size = 5;</code>
|
|
1121
|
+
* @param value The size to set.
|
|
1122
|
+
* @return This builder for chaining.
|
|
1123
|
+
*/
|
|
1124
|
+
public Builder setSize(long value) {
|
|
1125
|
+
|
|
1126
|
+
size_ = value;
|
|
1127
|
+
bitField0_ |= 0x00000010;
|
|
1128
|
+
onChanged();
|
|
1129
|
+
return this;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* <code>optional int64 size = 5;</code>
|
|
1133
|
+
* @return This builder for chaining.
|
|
1134
|
+
*/
|
|
1135
|
+
public Builder clearSize() {
|
|
1136
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1137
|
+
size_ = 0L;
|
|
1138
|
+
onChanged();
|
|
1139
|
+
return this;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
private java.lang.Object blockDevice_ = "";
|
|
1143
|
+
/**
|
|
1144
|
+
* <code>optional string block_device = 6;</code>
|
|
1145
|
+
* @return Whether the blockDevice field is set.
|
|
1146
|
+
*/
|
|
1147
|
+
public boolean hasBlockDevice() {
|
|
1148
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* <code>optional string block_device = 6;</code>
|
|
1152
|
+
* @return The blockDevice.
|
|
1153
|
+
*/
|
|
1154
|
+
public java.lang.String getBlockDevice() {
|
|
1155
|
+
java.lang.Object ref = blockDevice_;
|
|
1156
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1157
|
+
com.google.protobuf.ByteString bs =
|
|
1158
|
+
(com.google.protobuf.ByteString) ref;
|
|
1159
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1160
|
+
blockDevice_ = s;
|
|
1161
|
+
return s;
|
|
1162
|
+
} else {
|
|
1163
|
+
return (java.lang.String) ref;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* <code>optional string block_device = 6;</code>
|
|
1168
|
+
* @return The bytes for blockDevice.
|
|
1169
|
+
*/
|
|
1170
|
+
public com.google.protobuf.ByteString
|
|
1171
|
+
getBlockDeviceBytes() {
|
|
1172
|
+
java.lang.Object ref = blockDevice_;
|
|
1173
|
+
if (ref instanceof String) {
|
|
1174
|
+
com.google.protobuf.ByteString b =
|
|
1175
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1176
|
+
(java.lang.String) ref);
|
|
1177
|
+
blockDevice_ = b;
|
|
1178
|
+
return b;
|
|
1179
|
+
} else {
|
|
1180
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* <code>optional string block_device = 6;</code>
|
|
1185
|
+
* @param value The blockDevice to set.
|
|
1186
|
+
* @return This builder for chaining.
|
|
1187
|
+
*/
|
|
1188
|
+
public Builder setBlockDevice(
|
|
1189
|
+
java.lang.String value) {
|
|
1190
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1191
|
+
blockDevice_ = value;
|
|
1192
|
+
bitField0_ |= 0x00000020;
|
|
1193
|
+
onChanged();
|
|
1194
|
+
return this;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* <code>optional string block_device = 6;</code>
|
|
1198
|
+
* @return This builder for chaining.
|
|
1199
|
+
*/
|
|
1200
|
+
public Builder clearBlockDevice() {
|
|
1201
|
+
blockDevice_ = getDefaultInstance().getBlockDevice();
|
|
1202
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1203
|
+
onChanged();
|
|
1204
|
+
return this;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* <code>optional string block_device = 6;</code>
|
|
1208
|
+
* @param value The bytes for blockDevice to set.
|
|
1209
|
+
* @return This builder for chaining.
|
|
1210
|
+
*/
|
|
1211
|
+
public Builder setBlockDeviceBytes(
|
|
1212
|
+
com.google.protobuf.ByteString value) {
|
|
1213
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1214
|
+
checkByteStringIsUtf8(value);
|
|
1215
|
+
blockDevice_ = value;
|
|
1216
|
+
bitField0_ |= 0x00000020;
|
|
1217
|
+
onChanged();
|
|
1218
|
+
return this;
|
|
1219
|
+
}
|
|
1220
|
+
@java.lang.Override
|
|
1221
|
+
public final Builder setUnknownFields(
|
|
1222
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1223
|
+
return super.setUnknownFields(unknownFields);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
@java.lang.Override
|
|
1227
|
+
public final Builder mergeUnknownFields(
|
|
1228
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1229
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume)
|
|
1237
|
+
private static final com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume DEFAULT_INSTANCE;
|
|
1238
|
+
static {
|
|
1239
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume();
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume getDefaultInstance() {
|
|
1243
|
+
return DEFAULT_INSTANCE;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
private static final com.google.protobuf.Parser<ComputerLinuxLogicalVolume>
|
|
1247
|
+
PARSER = new com.google.protobuf.AbstractParser<ComputerLinuxLogicalVolume>() {
|
|
1248
|
+
@java.lang.Override
|
|
1249
|
+
public ComputerLinuxLogicalVolume parsePartialFrom(
|
|
1250
|
+
com.google.protobuf.CodedInputStream input,
|
|
1251
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1252
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1253
|
+
Builder builder = newBuilder();
|
|
1254
|
+
try {
|
|
1255
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
1256
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1257
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
1258
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
1259
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
1260
|
+
} catch (java.io.IOException e) {
|
|
1261
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
1262
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
1263
|
+
}
|
|
1264
|
+
return builder.buildPartial();
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
public static com.google.protobuf.Parser<ComputerLinuxLogicalVolume> parser() {
|
|
1269
|
+
return PARSER;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
@java.lang.Override
|
|
1273
|
+
public com.google.protobuf.Parser<ComputerLinuxLogicalVolume> getParserForType() {
|
|
1274
|
+
return PARSER;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
@java.lang.Override
|
|
1278
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxLogicalVolume getDefaultInstanceForType() {
|
|
1279
|
+
return DEFAULT_INSTANCE;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
}
|
|
1283
|
+
|