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