@lansweeper/data-platform-outbound-grpc 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +9 -0
- package/gen-proto/outbound_pb.js +90 -12
- package/generated-go/outbound.pb.go +949 -897
- package/generated-go/outbound_grpc.pb.go +19 -7
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +7 -3
- package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +284 -43252
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: packages/data.platform/outbound/grpc/proto/outbound.proto
|
|
3
|
+
|
|
4
|
+
package com.lansweeper.dp.outbound.v1;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.CatalogMonitor}
|
|
8
|
+
*/
|
|
9
|
+
public final class CatalogMonitor extends
|
|
10
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
11
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.CatalogMonitor)
|
|
12
|
+
CatalogMonitorOrBuilder {
|
|
13
|
+
private static final long serialVersionUID = 0L;
|
|
14
|
+
// Use CatalogMonitor.newBuilder() to construct.
|
|
15
|
+
private CatalogMonitor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
16
|
+
super(builder);
|
|
17
|
+
}
|
|
18
|
+
private CatalogMonitor() {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@java.lang.Override
|
|
22
|
+
@SuppressWarnings({"unused"})
|
|
23
|
+
protected java.lang.Object newInstance(
|
|
24
|
+
UnusedPrivateParameter unused) {
|
|
25
|
+
return new CatalogMonitor();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@java.lang.Override
|
|
29
|
+
public final com.google.protobuf.UnknownFieldSet
|
|
30
|
+
getUnknownFields() {
|
|
31
|
+
return this.unknownFields;
|
|
32
|
+
}
|
|
33
|
+
private CatalogMonitor(
|
|
34
|
+
com.google.protobuf.CodedInputStream input,
|
|
35
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
36
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
37
|
+
this();
|
|
38
|
+
if (extensionRegistry == null) {
|
|
39
|
+
throw new java.lang.NullPointerException();
|
|
40
|
+
}
|
|
41
|
+
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
42
|
+
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
43
|
+
try {
|
|
44
|
+
boolean done = false;
|
|
45
|
+
while (!done) {
|
|
46
|
+
int tag = input.readTag();
|
|
47
|
+
switch (tag) {
|
|
48
|
+
case 0:
|
|
49
|
+
done = true;
|
|
50
|
+
break;
|
|
51
|
+
case 8: {
|
|
52
|
+
|
|
53
|
+
id_ = input.readInt64();
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
default: {
|
|
57
|
+
if (!parseUnknownField(
|
|
58
|
+
input, unknownFields, extensionRegistry, tag)) {
|
|
59
|
+
done = true;
|
|
60
|
+
}
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
66
|
+
throw e.setUnfinishedMessage(this);
|
|
67
|
+
} catch (java.io.IOException e) {
|
|
68
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
69
|
+
e).setUnfinishedMessage(this);
|
|
70
|
+
} finally {
|
|
71
|
+
this.unknownFields = unknownFields.build();
|
|
72
|
+
makeExtensionsImmutable();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
76
|
+
getDescriptor() {
|
|
77
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogMonitor_descriptor;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@java.lang.Override
|
|
81
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
82
|
+
internalGetFieldAccessorTable() {
|
|
83
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogMonitor_fieldAccessorTable
|
|
84
|
+
.ensureFieldAccessorsInitialized(
|
|
85
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor.class, com.lansweeper.dp.outbound.v1.CatalogMonitor.Builder.class);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public static final int ID_FIELD_NUMBER = 1;
|
|
89
|
+
private long id_;
|
|
90
|
+
/**
|
|
91
|
+
* <code>int64 id = 1;</code>
|
|
92
|
+
* @return The id.
|
|
93
|
+
*/
|
|
94
|
+
@java.lang.Override
|
|
95
|
+
public long getId() {
|
|
96
|
+
return id_;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
private byte memoizedIsInitialized = -1;
|
|
100
|
+
@java.lang.Override
|
|
101
|
+
public final boolean isInitialized() {
|
|
102
|
+
byte isInitialized = memoizedIsInitialized;
|
|
103
|
+
if (isInitialized == 1) return true;
|
|
104
|
+
if (isInitialized == 0) return false;
|
|
105
|
+
|
|
106
|
+
memoizedIsInitialized = 1;
|
|
107
|
+
return true;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@java.lang.Override
|
|
111
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
112
|
+
throws java.io.IOException {
|
|
113
|
+
if (id_ != 0L) {
|
|
114
|
+
output.writeInt64(1, id_);
|
|
115
|
+
}
|
|
116
|
+
unknownFields.writeTo(output);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@java.lang.Override
|
|
120
|
+
public int getSerializedSize() {
|
|
121
|
+
int size = memoizedSize;
|
|
122
|
+
if (size != -1) return size;
|
|
123
|
+
|
|
124
|
+
size = 0;
|
|
125
|
+
if (id_ != 0L) {
|
|
126
|
+
size += com.google.protobuf.CodedOutputStream
|
|
127
|
+
.computeInt64Size(1, id_);
|
|
128
|
+
}
|
|
129
|
+
size += unknownFields.getSerializedSize();
|
|
130
|
+
memoizedSize = size;
|
|
131
|
+
return size;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@java.lang.Override
|
|
135
|
+
public boolean equals(final java.lang.Object obj) {
|
|
136
|
+
if (obj == this) {
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.CatalogMonitor)) {
|
|
140
|
+
return super.equals(obj);
|
|
141
|
+
}
|
|
142
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor other = (com.lansweeper.dp.outbound.v1.CatalogMonitor) obj;
|
|
143
|
+
|
|
144
|
+
if (getId()
|
|
145
|
+
!= other.getId()) return false;
|
|
146
|
+
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
147
|
+
return true;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@java.lang.Override
|
|
151
|
+
public int hashCode() {
|
|
152
|
+
if (memoizedHashCode != 0) {
|
|
153
|
+
return memoizedHashCode;
|
|
154
|
+
}
|
|
155
|
+
int hash = 41;
|
|
156
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
157
|
+
hash = (37 * hash) + ID_FIELD_NUMBER;
|
|
158
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
159
|
+
getId());
|
|
160
|
+
hash = (29 * hash) + unknownFields.hashCode();
|
|
161
|
+
memoizedHashCode = hash;
|
|
162
|
+
return hash;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
166
|
+
java.nio.ByteBuffer data)
|
|
167
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
168
|
+
return PARSER.parseFrom(data);
|
|
169
|
+
}
|
|
170
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
171
|
+
java.nio.ByteBuffer data,
|
|
172
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
173
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
174
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
175
|
+
}
|
|
176
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
177
|
+
com.google.protobuf.ByteString data)
|
|
178
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
179
|
+
return PARSER.parseFrom(data);
|
|
180
|
+
}
|
|
181
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
182
|
+
com.google.protobuf.ByteString data,
|
|
183
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
184
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
185
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
186
|
+
}
|
|
187
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(byte[] data)
|
|
188
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
189
|
+
return PARSER.parseFrom(data);
|
|
190
|
+
}
|
|
191
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
192
|
+
byte[] data,
|
|
193
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
194
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
195
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
196
|
+
}
|
|
197
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(java.io.InputStream input)
|
|
198
|
+
throws java.io.IOException {
|
|
199
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
200
|
+
.parseWithIOException(PARSER, input);
|
|
201
|
+
}
|
|
202
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
203
|
+
java.io.InputStream input,
|
|
204
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
205
|
+
throws java.io.IOException {
|
|
206
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
207
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
208
|
+
}
|
|
209
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseDelimitedFrom(java.io.InputStream input)
|
|
210
|
+
throws java.io.IOException {
|
|
211
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
212
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
213
|
+
}
|
|
214
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseDelimitedFrom(
|
|
215
|
+
java.io.InputStream input,
|
|
216
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
217
|
+
throws java.io.IOException {
|
|
218
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
219
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
220
|
+
}
|
|
221
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
222
|
+
com.google.protobuf.CodedInputStream input)
|
|
223
|
+
throws java.io.IOException {
|
|
224
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
225
|
+
.parseWithIOException(PARSER, input);
|
|
226
|
+
}
|
|
227
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor parseFrom(
|
|
228
|
+
com.google.protobuf.CodedInputStream input,
|
|
229
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
230
|
+
throws java.io.IOException {
|
|
231
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
232
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@java.lang.Override
|
|
236
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
237
|
+
public static Builder newBuilder() {
|
|
238
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
239
|
+
}
|
|
240
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.CatalogMonitor prototype) {
|
|
241
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
242
|
+
}
|
|
243
|
+
@java.lang.Override
|
|
244
|
+
public Builder toBuilder() {
|
|
245
|
+
return this == DEFAULT_INSTANCE
|
|
246
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@java.lang.Override
|
|
250
|
+
protected Builder newBuilderForType(
|
|
251
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
252
|
+
Builder builder = new Builder(parent);
|
|
253
|
+
return builder;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.CatalogMonitor}
|
|
257
|
+
*/
|
|
258
|
+
public static final class Builder extends
|
|
259
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
260
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.CatalogMonitor)
|
|
261
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitorOrBuilder {
|
|
262
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
263
|
+
getDescriptor() {
|
|
264
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogMonitor_descriptor;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@java.lang.Override
|
|
268
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
269
|
+
internalGetFieldAccessorTable() {
|
|
270
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogMonitor_fieldAccessorTable
|
|
271
|
+
.ensureFieldAccessorsInitialized(
|
|
272
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor.class, com.lansweeper.dp.outbound.v1.CatalogMonitor.Builder.class);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// Construct using com.lansweeper.dp.outbound.v1.CatalogMonitor.newBuilder()
|
|
276
|
+
private Builder() {
|
|
277
|
+
maybeForceBuilderInitialization();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
private Builder(
|
|
281
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
282
|
+
super(parent);
|
|
283
|
+
maybeForceBuilderInitialization();
|
|
284
|
+
}
|
|
285
|
+
private void maybeForceBuilderInitialization() {
|
|
286
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
287
|
+
.alwaysUseFieldBuilders) {
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
@java.lang.Override
|
|
291
|
+
public Builder clear() {
|
|
292
|
+
super.clear();
|
|
293
|
+
id_ = 0L;
|
|
294
|
+
|
|
295
|
+
return this;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@java.lang.Override
|
|
299
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
300
|
+
getDescriptorForType() {
|
|
301
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_CatalogMonitor_descriptor;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@java.lang.Override
|
|
305
|
+
public com.lansweeper.dp.outbound.v1.CatalogMonitor getDefaultInstanceForType() {
|
|
306
|
+
return com.lansweeper.dp.outbound.v1.CatalogMonitor.getDefaultInstance();
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@java.lang.Override
|
|
310
|
+
public com.lansweeper.dp.outbound.v1.CatalogMonitor build() {
|
|
311
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor result = buildPartial();
|
|
312
|
+
if (!result.isInitialized()) {
|
|
313
|
+
throw newUninitializedMessageException(result);
|
|
314
|
+
}
|
|
315
|
+
return result;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
@java.lang.Override
|
|
319
|
+
public com.lansweeper.dp.outbound.v1.CatalogMonitor buildPartial() {
|
|
320
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor result = new com.lansweeper.dp.outbound.v1.CatalogMonitor(this);
|
|
321
|
+
result.id_ = id_;
|
|
322
|
+
onBuilt();
|
|
323
|
+
return result;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@java.lang.Override
|
|
327
|
+
public Builder clone() {
|
|
328
|
+
return super.clone();
|
|
329
|
+
}
|
|
330
|
+
@java.lang.Override
|
|
331
|
+
public Builder setField(
|
|
332
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
333
|
+
java.lang.Object value) {
|
|
334
|
+
return super.setField(field, value);
|
|
335
|
+
}
|
|
336
|
+
@java.lang.Override
|
|
337
|
+
public Builder clearField(
|
|
338
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
339
|
+
return super.clearField(field);
|
|
340
|
+
}
|
|
341
|
+
@java.lang.Override
|
|
342
|
+
public Builder clearOneof(
|
|
343
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
344
|
+
return super.clearOneof(oneof);
|
|
345
|
+
}
|
|
346
|
+
@java.lang.Override
|
|
347
|
+
public Builder setRepeatedField(
|
|
348
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
349
|
+
int index, java.lang.Object value) {
|
|
350
|
+
return super.setRepeatedField(field, index, value);
|
|
351
|
+
}
|
|
352
|
+
@java.lang.Override
|
|
353
|
+
public Builder addRepeatedField(
|
|
354
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
355
|
+
java.lang.Object value) {
|
|
356
|
+
return super.addRepeatedField(field, value);
|
|
357
|
+
}
|
|
358
|
+
@java.lang.Override
|
|
359
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
360
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.CatalogMonitor) {
|
|
361
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.CatalogMonitor)other);
|
|
362
|
+
} else {
|
|
363
|
+
super.mergeFrom(other);
|
|
364
|
+
return this;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.CatalogMonitor other) {
|
|
369
|
+
if (other == com.lansweeper.dp.outbound.v1.CatalogMonitor.getDefaultInstance()) return this;
|
|
370
|
+
if (other.getId() != 0L) {
|
|
371
|
+
setId(other.getId());
|
|
372
|
+
}
|
|
373
|
+
this.mergeUnknownFields(other.unknownFields);
|
|
374
|
+
onChanged();
|
|
375
|
+
return this;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@java.lang.Override
|
|
379
|
+
public final boolean isInitialized() {
|
|
380
|
+
return true;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
@java.lang.Override
|
|
384
|
+
public Builder mergeFrom(
|
|
385
|
+
com.google.protobuf.CodedInputStream input,
|
|
386
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
387
|
+
throws java.io.IOException {
|
|
388
|
+
com.lansweeper.dp.outbound.v1.CatalogMonitor parsedMessage = null;
|
|
389
|
+
try {
|
|
390
|
+
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
391
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
392
|
+
parsedMessage = (com.lansweeper.dp.outbound.v1.CatalogMonitor) e.getUnfinishedMessage();
|
|
393
|
+
throw e.unwrapIOException();
|
|
394
|
+
} finally {
|
|
395
|
+
if (parsedMessage != null) {
|
|
396
|
+
mergeFrom(parsedMessage);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
return this;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
private long id_ ;
|
|
403
|
+
/**
|
|
404
|
+
* <code>int64 id = 1;</code>
|
|
405
|
+
* @return The id.
|
|
406
|
+
*/
|
|
407
|
+
@java.lang.Override
|
|
408
|
+
public long getId() {
|
|
409
|
+
return id_;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* <code>int64 id = 1;</code>
|
|
413
|
+
* @param value The id to set.
|
|
414
|
+
* @return This builder for chaining.
|
|
415
|
+
*/
|
|
416
|
+
public Builder setId(long value) {
|
|
417
|
+
|
|
418
|
+
id_ = value;
|
|
419
|
+
onChanged();
|
|
420
|
+
return this;
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* <code>int64 id = 1;</code>
|
|
424
|
+
* @return This builder for chaining.
|
|
425
|
+
*/
|
|
426
|
+
public Builder clearId() {
|
|
427
|
+
|
|
428
|
+
id_ = 0L;
|
|
429
|
+
onChanged();
|
|
430
|
+
return this;
|
|
431
|
+
}
|
|
432
|
+
@java.lang.Override
|
|
433
|
+
public final Builder setUnknownFields(
|
|
434
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
435
|
+
return super.setUnknownFields(unknownFields);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
@java.lang.Override
|
|
439
|
+
public final Builder mergeUnknownFields(
|
|
440
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
441
|
+
return super.mergeUnknownFields(unknownFields);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.CatalogMonitor)
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.CatalogMonitor)
|
|
449
|
+
private static final com.lansweeper.dp.outbound.v1.CatalogMonitor DEFAULT_INSTANCE;
|
|
450
|
+
static {
|
|
451
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.CatalogMonitor();
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
public static com.lansweeper.dp.outbound.v1.CatalogMonitor getDefaultInstance() {
|
|
455
|
+
return DEFAULT_INSTANCE;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
private static final com.google.protobuf.Parser<CatalogMonitor>
|
|
459
|
+
PARSER = new com.google.protobuf.AbstractParser<CatalogMonitor>() {
|
|
460
|
+
@java.lang.Override
|
|
461
|
+
public CatalogMonitor parsePartialFrom(
|
|
462
|
+
com.google.protobuf.CodedInputStream input,
|
|
463
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
464
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
465
|
+
return new CatalogMonitor(input, extensionRegistry);
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
public static com.google.protobuf.Parser<CatalogMonitor> parser() {
|
|
470
|
+
return PARSER;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
@java.lang.Override
|
|
474
|
+
public com.google.protobuf.Parser<CatalogMonitor> getParserForType() {
|
|
475
|
+
return PARSER;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@java.lang.Override
|
|
479
|
+
public com.lansweeper.dp.outbound.v1.CatalogMonitor getDefaultInstanceForType() {
|
|
480
|
+
return DEFAULT_INSTANCE;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
}
|
|
484
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: packages/data.platform/outbound/grpc/proto/outbound.proto
|
|
3
|
+
|
|
4
|
+
package com.lansweeper.dp.outbound.v1;
|
|
5
|
+
|
|
6
|
+
public interface CatalogMonitorOrBuilder extends
|
|
7
|
+
// @@protoc_insertion_point(interface_extends:com.lansweeper.dp.outbound.v1.CatalogMonitor)
|
|
8
|
+
com.google.protobuf.MessageOrBuilder {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* <code>int64 id = 1;</code>
|
|
12
|
+
* @return The id.
|
|
13
|
+
*/
|
|
14
|
+
long getId();
|
|
15
|
+
}
|