@lansweeper/integrations-assets-grpc 0.1.1
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/buf.yaml +23 -0
- package/gen-proto/assets_grpc_pb.js +1 -0
- package/gen-proto/assets_pb.d.ts +458 -0
- package/gen-proto/assets_pb.js +3599 -0
- package/gen-proto/image.json +1 -0
- package/gen-proto/index.d.ts +1 -0
- package/gen-proto/index.js +3 -0
- package/generated-go/assets.pb.go +1118 -0
- package/go.mod +3 -0
- package/java.json +6 -0
- package/package.json +18 -0
- package/pom.xml +76 -0
- package/proto/assets.proto +86 -0
- package/src/main/proto/assets.proto +86 -0
- package/target/classes/assets.proto +86 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Assets.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CustomField$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CustomField$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CustomField.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/LockedFields$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/LockedFields$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/LockedFields.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/OtData$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/OtData$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/OtData.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/OtDataOrBuilder.class +0 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Asset.java +1292 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfo.java +1431 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.java +118 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +3690 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +351 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetOrBuilder.java +84 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +176 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustom.java +1316 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.java +111 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomField.java +643 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.java +33 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFields.java +2886 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.java +281 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtData.java +688 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtDataOrBuilder.java +43 -0
- package/target/integrations-assets-model-0.1.0-sources.jar +0 -0
- package/target/integrations-assets-model-0.1.0.jar +0 -0
- package/target/maven-archiver/pom.properties +5 -0
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +29 -0
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +15 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/any.proto +161 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/api.proto +207 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/descriptor.proto +975 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/duration.proto +115 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/empty.proto +51 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/field_mask.proto +245 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/source_context.proto +48 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/struct.proto +95 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/timestamp.proto +144 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/type.proto +187 -0
- package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/wrappers.proto +123 -0
- package/target/protoc-plugins/protoc-3.22.2-linux-x86_64.exe +0 -0
package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomField.java
ADDED
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: assets.proto
|
|
3
|
+
|
|
4
|
+
package lansweeper.integrations.assets.v1;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Protobuf type {@code lansweeper.integrations.assets.v1.CustomField}
|
|
8
|
+
*/
|
|
9
|
+
public final class CustomField extends
|
|
10
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
11
|
+
// @@protoc_insertion_point(message_implements:lansweeper.integrations.assets.v1.CustomField)
|
|
12
|
+
CustomFieldOrBuilder {
|
|
13
|
+
private static final long serialVersionUID = 0L;
|
|
14
|
+
// Use CustomField.newBuilder() to construct.
|
|
15
|
+
private CustomField(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
16
|
+
super(builder);
|
|
17
|
+
}
|
|
18
|
+
private CustomField() {
|
|
19
|
+
key_ = "";
|
|
20
|
+
value_ = "";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@java.lang.Override
|
|
24
|
+
@SuppressWarnings({"unused"})
|
|
25
|
+
protected java.lang.Object newInstance(
|
|
26
|
+
UnusedPrivateParameter unused) {
|
|
27
|
+
return new CustomField();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
31
|
+
getDescriptor() {
|
|
32
|
+
return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CustomField_descriptor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@java.lang.Override
|
|
36
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
37
|
+
internalGetFieldAccessorTable() {
|
|
38
|
+
return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CustomField_fieldAccessorTable
|
|
39
|
+
.ensureFieldAccessorsInitialized(
|
|
40
|
+
lansweeper.integrations.assets.v1.CustomField.class, lansweeper.integrations.assets.v1.CustomField.Builder.class);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public static final int KEY_FIELD_NUMBER = 1;
|
|
44
|
+
@SuppressWarnings("serial")
|
|
45
|
+
private volatile java.lang.Object key_ = "";
|
|
46
|
+
/**
|
|
47
|
+
* <code>string key = 1;</code>
|
|
48
|
+
* @return The key.
|
|
49
|
+
*/
|
|
50
|
+
@java.lang.Override
|
|
51
|
+
public java.lang.String getKey() {
|
|
52
|
+
java.lang.Object ref = key_;
|
|
53
|
+
if (ref instanceof java.lang.String) {
|
|
54
|
+
return (java.lang.String) ref;
|
|
55
|
+
} else {
|
|
56
|
+
com.google.protobuf.ByteString bs =
|
|
57
|
+
(com.google.protobuf.ByteString) ref;
|
|
58
|
+
java.lang.String s = bs.toStringUtf8();
|
|
59
|
+
key_ = s;
|
|
60
|
+
return s;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <code>string key = 1;</code>
|
|
65
|
+
* @return The bytes for key.
|
|
66
|
+
*/
|
|
67
|
+
@java.lang.Override
|
|
68
|
+
public com.google.protobuf.ByteString
|
|
69
|
+
getKeyBytes() {
|
|
70
|
+
java.lang.Object ref = key_;
|
|
71
|
+
if (ref instanceof java.lang.String) {
|
|
72
|
+
com.google.protobuf.ByteString b =
|
|
73
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
74
|
+
(java.lang.String) ref);
|
|
75
|
+
key_ = b;
|
|
76
|
+
return b;
|
|
77
|
+
} else {
|
|
78
|
+
return (com.google.protobuf.ByteString) ref;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public static final int VALUE_FIELD_NUMBER = 2;
|
|
83
|
+
@SuppressWarnings("serial")
|
|
84
|
+
private volatile java.lang.Object value_ = "";
|
|
85
|
+
/**
|
|
86
|
+
* <code>string value = 2;</code>
|
|
87
|
+
* @return The value.
|
|
88
|
+
*/
|
|
89
|
+
@java.lang.Override
|
|
90
|
+
public java.lang.String getValue() {
|
|
91
|
+
java.lang.Object ref = value_;
|
|
92
|
+
if (ref instanceof java.lang.String) {
|
|
93
|
+
return (java.lang.String) ref;
|
|
94
|
+
} else {
|
|
95
|
+
com.google.protobuf.ByteString bs =
|
|
96
|
+
(com.google.protobuf.ByteString) ref;
|
|
97
|
+
java.lang.String s = bs.toStringUtf8();
|
|
98
|
+
value_ = s;
|
|
99
|
+
return s;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <code>string value = 2;</code>
|
|
104
|
+
* @return The bytes for value.
|
|
105
|
+
*/
|
|
106
|
+
@java.lang.Override
|
|
107
|
+
public com.google.protobuf.ByteString
|
|
108
|
+
getValueBytes() {
|
|
109
|
+
java.lang.Object ref = value_;
|
|
110
|
+
if (ref instanceof java.lang.String) {
|
|
111
|
+
com.google.protobuf.ByteString b =
|
|
112
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
113
|
+
(java.lang.String) ref);
|
|
114
|
+
value_ = b;
|
|
115
|
+
return b;
|
|
116
|
+
} else {
|
|
117
|
+
return (com.google.protobuf.ByteString) ref;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
private byte memoizedIsInitialized = -1;
|
|
122
|
+
@java.lang.Override
|
|
123
|
+
public final boolean isInitialized() {
|
|
124
|
+
byte isInitialized = memoizedIsInitialized;
|
|
125
|
+
if (isInitialized == 1) return true;
|
|
126
|
+
if (isInitialized == 0) return false;
|
|
127
|
+
|
|
128
|
+
memoizedIsInitialized = 1;
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@java.lang.Override
|
|
133
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
134
|
+
throws java.io.IOException {
|
|
135
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
|
|
136
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
|
|
137
|
+
}
|
|
138
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
|
|
139
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
|
|
140
|
+
}
|
|
141
|
+
getUnknownFields().writeTo(output);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@java.lang.Override
|
|
145
|
+
public int getSerializedSize() {
|
|
146
|
+
int size = memoizedSize;
|
|
147
|
+
if (size != -1) return size;
|
|
148
|
+
|
|
149
|
+
size = 0;
|
|
150
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
|
|
151
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
|
|
152
|
+
}
|
|
153
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
|
|
154
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
|
|
155
|
+
}
|
|
156
|
+
size += getUnknownFields().getSerializedSize();
|
|
157
|
+
memoizedSize = size;
|
|
158
|
+
return size;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@java.lang.Override
|
|
162
|
+
public boolean equals(final java.lang.Object obj) {
|
|
163
|
+
if (obj == this) {
|
|
164
|
+
return true;
|
|
165
|
+
}
|
|
166
|
+
if (!(obj instanceof lansweeper.integrations.assets.v1.CustomField)) {
|
|
167
|
+
return super.equals(obj);
|
|
168
|
+
}
|
|
169
|
+
lansweeper.integrations.assets.v1.CustomField other = (lansweeper.integrations.assets.v1.CustomField) obj;
|
|
170
|
+
|
|
171
|
+
if (!getKey()
|
|
172
|
+
.equals(other.getKey())) return false;
|
|
173
|
+
if (!getValue()
|
|
174
|
+
.equals(other.getValue())) return false;
|
|
175
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
176
|
+
return true;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@java.lang.Override
|
|
180
|
+
public int hashCode() {
|
|
181
|
+
if (memoizedHashCode != 0) {
|
|
182
|
+
return memoizedHashCode;
|
|
183
|
+
}
|
|
184
|
+
int hash = 41;
|
|
185
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
186
|
+
hash = (37 * hash) + KEY_FIELD_NUMBER;
|
|
187
|
+
hash = (53 * hash) + getKey().hashCode();
|
|
188
|
+
hash = (37 * hash) + VALUE_FIELD_NUMBER;
|
|
189
|
+
hash = (53 * hash) + getValue().hashCode();
|
|
190
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
191
|
+
memoizedHashCode = hash;
|
|
192
|
+
return hash;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
196
|
+
java.nio.ByteBuffer data)
|
|
197
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
198
|
+
return PARSER.parseFrom(data);
|
|
199
|
+
}
|
|
200
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
201
|
+
java.nio.ByteBuffer data,
|
|
202
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
203
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
204
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
205
|
+
}
|
|
206
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
207
|
+
com.google.protobuf.ByteString data)
|
|
208
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
209
|
+
return PARSER.parseFrom(data);
|
|
210
|
+
}
|
|
211
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
212
|
+
com.google.protobuf.ByteString data,
|
|
213
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
214
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
215
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
216
|
+
}
|
|
217
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(byte[] data)
|
|
218
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
219
|
+
return PARSER.parseFrom(data);
|
|
220
|
+
}
|
|
221
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
222
|
+
byte[] data,
|
|
223
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
224
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
225
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
226
|
+
}
|
|
227
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(java.io.InputStream input)
|
|
228
|
+
throws java.io.IOException {
|
|
229
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
230
|
+
.parseWithIOException(PARSER, input);
|
|
231
|
+
}
|
|
232
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
233
|
+
java.io.InputStream input,
|
|
234
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
235
|
+
throws java.io.IOException {
|
|
236
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
237
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
238
|
+
}
|
|
239
|
+
public static lansweeper.integrations.assets.v1.CustomField parseDelimitedFrom(java.io.InputStream input)
|
|
240
|
+
throws java.io.IOException {
|
|
241
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
242
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
243
|
+
}
|
|
244
|
+
public static lansweeper.integrations.assets.v1.CustomField parseDelimitedFrom(
|
|
245
|
+
java.io.InputStream input,
|
|
246
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
247
|
+
throws java.io.IOException {
|
|
248
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
249
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
250
|
+
}
|
|
251
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
252
|
+
com.google.protobuf.CodedInputStream input)
|
|
253
|
+
throws java.io.IOException {
|
|
254
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
255
|
+
.parseWithIOException(PARSER, input);
|
|
256
|
+
}
|
|
257
|
+
public static lansweeper.integrations.assets.v1.CustomField parseFrom(
|
|
258
|
+
com.google.protobuf.CodedInputStream input,
|
|
259
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
260
|
+
throws java.io.IOException {
|
|
261
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
262
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@java.lang.Override
|
|
266
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
267
|
+
public static Builder newBuilder() {
|
|
268
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
269
|
+
}
|
|
270
|
+
public static Builder newBuilder(lansweeper.integrations.assets.v1.CustomField prototype) {
|
|
271
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
272
|
+
}
|
|
273
|
+
@java.lang.Override
|
|
274
|
+
public Builder toBuilder() {
|
|
275
|
+
return this == DEFAULT_INSTANCE
|
|
276
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@java.lang.Override
|
|
280
|
+
protected Builder newBuilderForType(
|
|
281
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
282
|
+
Builder builder = new Builder(parent);
|
|
283
|
+
return builder;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Protobuf type {@code lansweeper.integrations.assets.v1.CustomField}
|
|
287
|
+
*/
|
|
288
|
+
public static final class Builder extends
|
|
289
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
290
|
+
// @@protoc_insertion_point(builder_implements:lansweeper.integrations.assets.v1.CustomField)
|
|
291
|
+
lansweeper.integrations.assets.v1.CustomFieldOrBuilder {
|
|
292
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
293
|
+
getDescriptor() {
|
|
294
|
+
return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CustomField_descriptor;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@java.lang.Override
|
|
298
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
299
|
+
internalGetFieldAccessorTable() {
|
|
300
|
+
return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CustomField_fieldAccessorTable
|
|
301
|
+
.ensureFieldAccessorsInitialized(
|
|
302
|
+
lansweeper.integrations.assets.v1.CustomField.class, lansweeper.integrations.assets.v1.CustomField.Builder.class);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Construct using lansweeper.integrations.assets.v1.CustomField.newBuilder()
|
|
306
|
+
private Builder() {
|
|
307
|
+
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
private Builder(
|
|
311
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
312
|
+
super(parent);
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
@java.lang.Override
|
|
316
|
+
public Builder clear() {
|
|
317
|
+
super.clear();
|
|
318
|
+
bitField0_ = 0;
|
|
319
|
+
key_ = "";
|
|
320
|
+
value_ = "";
|
|
321
|
+
return this;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@java.lang.Override
|
|
325
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
326
|
+
getDescriptorForType() {
|
|
327
|
+
return lansweeper.integrations.assets.v1.Assets.internal_static_lansweeper_integrations_assets_v1_CustomField_descriptor;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
@java.lang.Override
|
|
331
|
+
public lansweeper.integrations.assets.v1.CustomField getDefaultInstanceForType() {
|
|
332
|
+
return lansweeper.integrations.assets.v1.CustomField.getDefaultInstance();
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
@java.lang.Override
|
|
336
|
+
public lansweeper.integrations.assets.v1.CustomField build() {
|
|
337
|
+
lansweeper.integrations.assets.v1.CustomField result = buildPartial();
|
|
338
|
+
if (!result.isInitialized()) {
|
|
339
|
+
throw newUninitializedMessageException(result);
|
|
340
|
+
}
|
|
341
|
+
return result;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
@java.lang.Override
|
|
345
|
+
public lansweeper.integrations.assets.v1.CustomField buildPartial() {
|
|
346
|
+
lansweeper.integrations.assets.v1.CustomField result = new lansweeper.integrations.assets.v1.CustomField(this);
|
|
347
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
348
|
+
onBuilt();
|
|
349
|
+
return result;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
private void buildPartial0(lansweeper.integrations.assets.v1.CustomField result) {
|
|
353
|
+
int from_bitField0_ = bitField0_;
|
|
354
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
355
|
+
result.key_ = key_;
|
|
356
|
+
}
|
|
357
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
358
|
+
result.value_ = value_;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@java.lang.Override
|
|
363
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
364
|
+
if (other instanceof lansweeper.integrations.assets.v1.CustomField) {
|
|
365
|
+
return mergeFrom((lansweeper.integrations.assets.v1.CustomField)other);
|
|
366
|
+
} else {
|
|
367
|
+
super.mergeFrom(other);
|
|
368
|
+
return this;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
public Builder mergeFrom(lansweeper.integrations.assets.v1.CustomField other) {
|
|
373
|
+
if (other == lansweeper.integrations.assets.v1.CustomField.getDefaultInstance()) return this;
|
|
374
|
+
if (!other.getKey().isEmpty()) {
|
|
375
|
+
key_ = other.key_;
|
|
376
|
+
bitField0_ |= 0x00000001;
|
|
377
|
+
onChanged();
|
|
378
|
+
}
|
|
379
|
+
if (!other.getValue().isEmpty()) {
|
|
380
|
+
value_ = other.value_;
|
|
381
|
+
bitField0_ |= 0x00000002;
|
|
382
|
+
onChanged();
|
|
383
|
+
}
|
|
384
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
385
|
+
onChanged();
|
|
386
|
+
return this;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
@java.lang.Override
|
|
390
|
+
public final boolean isInitialized() {
|
|
391
|
+
return true;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@java.lang.Override
|
|
395
|
+
public Builder mergeFrom(
|
|
396
|
+
com.google.protobuf.CodedInputStream input,
|
|
397
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
398
|
+
throws java.io.IOException {
|
|
399
|
+
if (extensionRegistry == null) {
|
|
400
|
+
throw new java.lang.NullPointerException();
|
|
401
|
+
}
|
|
402
|
+
try {
|
|
403
|
+
boolean done = false;
|
|
404
|
+
while (!done) {
|
|
405
|
+
int tag = input.readTag();
|
|
406
|
+
switch (tag) {
|
|
407
|
+
case 0:
|
|
408
|
+
done = true;
|
|
409
|
+
break;
|
|
410
|
+
case 10: {
|
|
411
|
+
key_ = input.readStringRequireUtf8();
|
|
412
|
+
bitField0_ |= 0x00000001;
|
|
413
|
+
break;
|
|
414
|
+
} // case 10
|
|
415
|
+
case 18: {
|
|
416
|
+
value_ = input.readStringRequireUtf8();
|
|
417
|
+
bitField0_ |= 0x00000002;
|
|
418
|
+
break;
|
|
419
|
+
} // case 18
|
|
420
|
+
default: {
|
|
421
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
422
|
+
done = true; // was an endgroup tag
|
|
423
|
+
}
|
|
424
|
+
break;
|
|
425
|
+
} // default:
|
|
426
|
+
} // switch (tag)
|
|
427
|
+
} // while (!done)
|
|
428
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
429
|
+
throw e.unwrapIOException();
|
|
430
|
+
} finally {
|
|
431
|
+
onChanged();
|
|
432
|
+
} // finally
|
|
433
|
+
return this;
|
|
434
|
+
}
|
|
435
|
+
private int bitField0_;
|
|
436
|
+
|
|
437
|
+
private java.lang.Object key_ = "";
|
|
438
|
+
/**
|
|
439
|
+
* <code>string key = 1;</code>
|
|
440
|
+
* @return The key.
|
|
441
|
+
*/
|
|
442
|
+
public java.lang.String getKey() {
|
|
443
|
+
java.lang.Object ref = key_;
|
|
444
|
+
if (!(ref instanceof java.lang.String)) {
|
|
445
|
+
com.google.protobuf.ByteString bs =
|
|
446
|
+
(com.google.protobuf.ByteString) ref;
|
|
447
|
+
java.lang.String s = bs.toStringUtf8();
|
|
448
|
+
key_ = s;
|
|
449
|
+
return s;
|
|
450
|
+
} else {
|
|
451
|
+
return (java.lang.String) ref;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* <code>string key = 1;</code>
|
|
456
|
+
* @return The bytes for key.
|
|
457
|
+
*/
|
|
458
|
+
public com.google.protobuf.ByteString
|
|
459
|
+
getKeyBytes() {
|
|
460
|
+
java.lang.Object ref = key_;
|
|
461
|
+
if (ref instanceof String) {
|
|
462
|
+
com.google.protobuf.ByteString b =
|
|
463
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
464
|
+
(java.lang.String) ref);
|
|
465
|
+
key_ = b;
|
|
466
|
+
return b;
|
|
467
|
+
} else {
|
|
468
|
+
return (com.google.protobuf.ByteString) ref;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* <code>string key = 1;</code>
|
|
473
|
+
* @param value The key to set.
|
|
474
|
+
* @return This builder for chaining.
|
|
475
|
+
*/
|
|
476
|
+
public Builder setKey(
|
|
477
|
+
java.lang.String value) {
|
|
478
|
+
if (value == null) { throw new NullPointerException(); }
|
|
479
|
+
key_ = value;
|
|
480
|
+
bitField0_ |= 0x00000001;
|
|
481
|
+
onChanged();
|
|
482
|
+
return this;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* <code>string key = 1;</code>
|
|
486
|
+
* @return This builder for chaining.
|
|
487
|
+
*/
|
|
488
|
+
public Builder clearKey() {
|
|
489
|
+
key_ = getDefaultInstance().getKey();
|
|
490
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
491
|
+
onChanged();
|
|
492
|
+
return this;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* <code>string key = 1;</code>
|
|
496
|
+
* @param value The bytes for key to set.
|
|
497
|
+
* @return This builder for chaining.
|
|
498
|
+
*/
|
|
499
|
+
public Builder setKeyBytes(
|
|
500
|
+
com.google.protobuf.ByteString value) {
|
|
501
|
+
if (value == null) { throw new NullPointerException(); }
|
|
502
|
+
checkByteStringIsUtf8(value);
|
|
503
|
+
key_ = value;
|
|
504
|
+
bitField0_ |= 0x00000001;
|
|
505
|
+
onChanged();
|
|
506
|
+
return this;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
private java.lang.Object value_ = "";
|
|
510
|
+
/**
|
|
511
|
+
* <code>string value = 2;</code>
|
|
512
|
+
* @return The value.
|
|
513
|
+
*/
|
|
514
|
+
public java.lang.String getValue() {
|
|
515
|
+
java.lang.Object ref = value_;
|
|
516
|
+
if (!(ref instanceof java.lang.String)) {
|
|
517
|
+
com.google.protobuf.ByteString bs =
|
|
518
|
+
(com.google.protobuf.ByteString) ref;
|
|
519
|
+
java.lang.String s = bs.toStringUtf8();
|
|
520
|
+
value_ = s;
|
|
521
|
+
return s;
|
|
522
|
+
} else {
|
|
523
|
+
return (java.lang.String) ref;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* <code>string value = 2;</code>
|
|
528
|
+
* @return The bytes for value.
|
|
529
|
+
*/
|
|
530
|
+
public com.google.protobuf.ByteString
|
|
531
|
+
getValueBytes() {
|
|
532
|
+
java.lang.Object ref = value_;
|
|
533
|
+
if (ref instanceof String) {
|
|
534
|
+
com.google.protobuf.ByteString b =
|
|
535
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
536
|
+
(java.lang.String) ref);
|
|
537
|
+
value_ = b;
|
|
538
|
+
return b;
|
|
539
|
+
} else {
|
|
540
|
+
return (com.google.protobuf.ByteString) ref;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* <code>string value = 2;</code>
|
|
545
|
+
* @param value The value to set.
|
|
546
|
+
* @return This builder for chaining.
|
|
547
|
+
*/
|
|
548
|
+
public Builder setValue(
|
|
549
|
+
java.lang.String value) {
|
|
550
|
+
if (value == null) { throw new NullPointerException(); }
|
|
551
|
+
value_ = value;
|
|
552
|
+
bitField0_ |= 0x00000002;
|
|
553
|
+
onChanged();
|
|
554
|
+
return this;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* <code>string value = 2;</code>
|
|
558
|
+
* @return This builder for chaining.
|
|
559
|
+
*/
|
|
560
|
+
public Builder clearValue() {
|
|
561
|
+
value_ = getDefaultInstance().getValue();
|
|
562
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
563
|
+
onChanged();
|
|
564
|
+
return this;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* <code>string value = 2;</code>
|
|
568
|
+
* @param value The bytes for value to set.
|
|
569
|
+
* @return This builder for chaining.
|
|
570
|
+
*/
|
|
571
|
+
public Builder setValueBytes(
|
|
572
|
+
com.google.protobuf.ByteString value) {
|
|
573
|
+
if (value == null) { throw new NullPointerException(); }
|
|
574
|
+
checkByteStringIsUtf8(value);
|
|
575
|
+
value_ = value;
|
|
576
|
+
bitField0_ |= 0x00000002;
|
|
577
|
+
onChanged();
|
|
578
|
+
return this;
|
|
579
|
+
}
|
|
580
|
+
@java.lang.Override
|
|
581
|
+
public final Builder setUnknownFields(
|
|
582
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
583
|
+
return super.setUnknownFields(unknownFields);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
@java.lang.Override
|
|
587
|
+
public final Builder mergeUnknownFields(
|
|
588
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
589
|
+
return super.mergeUnknownFields(unknownFields);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
// @@protoc_insertion_point(builder_scope:lansweeper.integrations.assets.v1.CustomField)
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// @@protoc_insertion_point(class_scope:lansweeper.integrations.assets.v1.CustomField)
|
|
597
|
+
private static final lansweeper.integrations.assets.v1.CustomField DEFAULT_INSTANCE;
|
|
598
|
+
static {
|
|
599
|
+
DEFAULT_INSTANCE = new lansweeper.integrations.assets.v1.CustomField();
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
public static lansweeper.integrations.assets.v1.CustomField getDefaultInstance() {
|
|
603
|
+
return DEFAULT_INSTANCE;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
private static final com.google.protobuf.Parser<CustomField>
|
|
607
|
+
PARSER = new com.google.protobuf.AbstractParser<CustomField>() {
|
|
608
|
+
@java.lang.Override
|
|
609
|
+
public CustomField parsePartialFrom(
|
|
610
|
+
com.google.protobuf.CodedInputStream input,
|
|
611
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
612
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
613
|
+
Builder builder = newBuilder();
|
|
614
|
+
try {
|
|
615
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
616
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
617
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
618
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
619
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
620
|
+
} catch (java.io.IOException e) {
|
|
621
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
622
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
623
|
+
}
|
|
624
|
+
return builder.buildPartial();
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
public static com.google.protobuf.Parser<CustomField> parser() {
|
|
629
|
+
return PARSER;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
@java.lang.Override
|
|
633
|
+
public com.google.protobuf.Parser<CustomField> getParserForType() {
|
|
634
|
+
return PARSER;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
@java.lang.Override
|
|
638
|
+
public lansweeper.integrations.assets.v1.CustomField getDefaultInstanceForType() {
|
|
639
|
+
return DEFAULT_INSTANCE;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
}
|
|
643
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: assets.proto
|
|
3
|
+
|
|
4
|
+
package lansweeper.integrations.assets.v1;
|
|
5
|
+
|
|
6
|
+
public interface CustomFieldOrBuilder extends
|
|
7
|
+
// @@protoc_insertion_point(interface_extends:lansweeper.integrations.assets.v1.CustomField)
|
|
8
|
+
com.google.protobuf.MessageOrBuilder {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* <code>string key = 1;</code>
|
|
12
|
+
* @return The key.
|
|
13
|
+
*/
|
|
14
|
+
java.lang.String getKey();
|
|
15
|
+
/**
|
|
16
|
+
* <code>string key = 1;</code>
|
|
17
|
+
* @return The bytes for key.
|
|
18
|
+
*/
|
|
19
|
+
com.google.protobuf.ByteString
|
|
20
|
+
getKeyBytes();
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* <code>string value = 2;</code>
|
|
24
|
+
* @return The value.
|
|
25
|
+
*/
|
|
26
|
+
java.lang.String getValue();
|
|
27
|
+
/**
|
|
28
|
+
* <code>string value = 2;</code>
|
|
29
|
+
* @return The bytes for value.
|
|
30
|
+
*/
|
|
31
|
+
com.google.protobuf.ByteString
|
|
32
|
+
getValueBytes();
|
|
33
|
+
}
|