@lansweeper/integrations-assets-grpc 0.1.6 → 0.2.0
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 +4 -0
- package/gen-proto/assets_pb.d.ts +6 -6
- package/gen-proto/assets_pb.js +49 -49
- package/gen-proto/image.json +1 -1
- package/generated-go/assets.pb.go +147 -146
- package/java.json +1 -1
- package/package.json +7 -3
- package/pom.xml +1 -1
- package/proto/assets.proto +3 -1
- package/src/main/proto/assets.proto +3 -1
- package/target/classes/assets.proto +3 -1
- 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/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/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +168 -325
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +0 -17
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +47 -47
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustom.java +157 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.java +17 -0
- package/target/{integrations-assets-model-0.1.5-sources.jar → integrations-assets-model-0.1.6-sources.jar} +0 -0
- package/target/{integrations-assets-model-0.1.5.jar → integrations-assets-model-0.1.6.jar} +0 -0
- package/target/maven-archiver/pom.properties +2 -2
|
@@ -70,23 +70,6 @@ public interface AssetCustomOrBuilder extends
|
|
|
70
70
|
com.google.protobuf.ByteString
|
|
71
71
|
getDepartmentBytes();
|
|
72
72
|
|
|
73
|
-
/**
|
|
74
|
-
* <code>optional string industry = 5;</code>
|
|
75
|
-
* @return Whether the industry field is set.
|
|
76
|
-
*/
|
|
77
|
-
boolean hasIndustry();
|
|
78
|
-
/**
|
|
79
|
-
* <code>optional string industry = 5;</code>
|
|
80
|
-
* @return The industry.
|
|
81
|
-
*/
|
|
82
|
-
java.lang.String getIndustry();
|
|
83
|
-
/**
|
|
84
|
-
* <code>optional string industry = 5;</code>
|
|
85
|
-
* @return The bytes for industry.
|
|
86
|
-
*/
|
|
87
|
-
com.google.protobuf.ByteString
|
|
88
|
-
getIndustryBytes();
|
|
89
|
-
|
|
90
73
|
/**
|
|
91
74
|
* <code>optional string barcode = 6;</code>
|
|
92
75
|
* @return Whether the barcode field is set.
|
package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java
CHANGED
|
@@ -82,53 +82,53 @@ public final class Assets {
|
|
|
82
82
|
"B\014\n\n_type_name\"V\n\006OtData\022\030\n\013module_type\030" +
|
|
83
83
|
"\001 \001(\tH\000\210\001\001\022\025\n\010firmware\030\002 \001(\tH\001\210\001\001B\016\n\014_mo" +
|
|
84
84
|
"dule_typeB\013\n\t_firmware\")\n\013CustomField\022\013\n" +
|
|
85
|
-
"\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\
|
|
85
|
+
"\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\342\006\n\013AssetCusto" +
|
|
86
86
|
"m\022\021\n\tstate_key\030\001 \001(\t\022\025\n\010location\030\002 \001(\tH\000" +
|
|
87
87
|
"\210\001\001\022\025\n\010building\030\003 \001(\tH\001\210\001\001\022\027\n\ndepartment" +
|
|
88
|
-
"\030\004 \001(\tH\002\210\001\001\022\
|
|
89
|
-
"
|
|
90
|
-
"\
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"\
|
|
94
|
-
"\
|
|
95
|
-
"\n\
|
|
96
|
-
"
|
|
97
|
-
"\
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"\
|
|
101
|
-
"\
|
|
102
|
-
"\n\
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"\
|
|
107
|
-
"\
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"\
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"\n\013description\030\005 \001(\tH\004\210\001\001\022\031\n\
|
|
119
|
-
"\030\006 \001(\tH\005\210\001\001\022\022\n\005model\030\007 \001(\tH\006\210\001\001\022\032\n
|
|
120
|
-
"
|
|
121
|
-
"\007contact\030\n \001(\tH\t\210\001\001\022\025\n\010location\030\013
|
|
122
|
-
"\001\001\022\027\n\nip_address\030\014 \001(\tH\013\210\001\001\022\032\n\
|
|
123
|
-
"
|
|
124
|
-
"\210\001\001\022\030\n\013module_type\030\017 \001(\tH\016\210\001\001\022\025\n\
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"\004_skuB\n\n\010_contactB\013\n\t_locationB\r\n\
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
88
|
+
"\030\004 \001(\tH\002\210\001\001\022\024\n\007barcode\030\006 \001(\tH\003\210\001\001\022\032\n\rbra" +
|
|
89
|
+
"nch_office\030\007 \001(\tH\004\210\001\001\022\024\n\007contact\030\010 \001(\tH\005" +
|
|
90
|
+
"\210\001\001\022\031\n\014manufacturer\030\t \001(\tH\006\210\001\001\022\022\n\005model\030" +
|
|
91
|
+
"\n \001(\tH\007\210\001\001\022\032\n\rserial_number\030\013 \001(\tH\010\210\001\001\022\025" +
|
|
92
|
+
"\n\010dns_name\030\014 \001(\tH\t\210\001\001\022\020\n\003sku\030\r \001(\tH\n\210\001\001\022" +
|
|
93
|
+
"\032\n\rwarranty_date\030\016 \001(\tH\013\210\001\001\022\032\n\rpurchase_" +
|
|
94
|
+
"date\030\017 \001(\tH\014\210\001\001\022\031\n\014order_number\030\020 \001(\tH\r\210" +
|
|
95
|
+
"\001\001\022\031\n\014last_patched\030\021 \001(\tH\016\210\001\001\022\035\n\020last_fu" +
|
|
96
|
+
"ll_backup\030\022 \001(\tH\017\210\001\001\022\034\n\017last_full_image\030" +
|
|
97
|
+
"\023 \001(\tH\020\210\001\001\022>\n\006fields\030\024 \003(\0132..lansweeper." +
|
|
98
|
+
"integrations.assets.v1.CustomField\022\027\n\nst" +
|
|
99
|
+
"ate_name\030\025 \001(\tH\021\210\001\001\022\024\n\007comment\030\026 \001(\tH\022\210\001" +
|
|
100
|
+
"\001B\013\n\t_locationB\013\n\t_buildingB\r\n\013_departme" +
|
|
101
|
+
"ntB\n\n\010_barcodeB\020\n\016_branch_officeB\n\n\010_con" +
|
|
102
|
+
"tactB\017\n\r_manufacturerB\010\n\006_modelB\020\n\016_seri" +
|
|
103
|
+
"al_numberB\013\n\t_dns_nameB\006\n\004_skuB\020\n\016_warra" +
|
|
104
|
+
"nty_dateB\020\n\016_purchase_dateB\017\n\r_order_num" +
|
|
105
|
+
"berB\017\n\r_last_patchedB\023\n\021_last_full_backu" +
|
|
106
|
+
"pB\022\n\020_last_full_imageB\r\n\013_state_nameB\n\n\010" +
|
|
107
|
+
"_commentJ\004\010\005\020\006\"\306\002\n\020CloudAssetCustom\022 \n\023p" +
|
|
108
|
+
"urchase_order_date\030\001 \001(\tH\000\210\001\001\022\030\n\013cost_ce" +
|
|
109
|
+
"nter\030\002 \001(\tH\001\210\001\001\022\030\n\013vendor_name\030\003 \001(\tH\002\210\001" +
|
|
110
|
+
"\001\022\033\n\016invoice_number\030\004 \001(\tH\003\210\001\001\022\035\n\020acquis" +
|
|
111
|
+
"ition_type\030\005 \001(\tH\004\210\001\001\022\022\n\005owner\030\006 \001(\tH\005\210\001" +
|
|
112
|
+
"\001\022\025\n\010industry\030\007 \001(\tH\006\210\001\001B\026\n\024_purchase_or" +
|
|
113
|
+
"der_dateB\016\n\014_cost_centerB\016\n\014_vendor_name" +
|
|
114
|
+
"B\021\n\017_invoice_numberB\023\n\021_acquisition_type" +
|
|
115
|
+
"B\010\n\006_ownerB\013\n\t_industry\"\342\004\n\014LockedFields" +
|
|
116
|
+
"\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\025\n\010type_key\030\002 \001(\tH\001\210" +
|
|
117
|
+
"\001\001\022\020\n\003mac\030\003 \001(\tH\002\210\001\001\022\026\n\tstate_key\030\004 \001(\tH" +
|
|
118
|
+
"\003\210\001\001\022\030\n\013description\030\005 \001(\tH\004\210\001\001\022\031\n\014manufa" +
|
|
119
|
+
"cturer\030\006 \001(\tH\005\210\001\001\022\022\n\005model\030\007 \001(\tH\006\210\001\001\022\032\n" +
|
|
120
|
+
"\rserial_number\030\010 \001(\tH\007\210\001\001\022\020\n\003sku\030\t \001(\tH\010" +
|
|
121
|
+
"\210\001\001\022\024\n\007contact\030\n \001(\tH\t\210\001\001\022\025\n\010location\030\013 " +
|
|
122
|
+
"\001(\tH\n\210\001\001\022\027\n\nip_address\030\014 \001(\tH\013\210\001\001\022\032\n\rpur" +
|
|
123
|
+
"chase_date\030\r \001(\tH\014\210\001\001\022\032\n\rwarranty_date\030\016" +
|
|
124
|
+
" \001(\tH\r\210\001\001\022\030\n\013module_type\030\017 \001(\tH\016\210\001\001\022\025\n\010f" +
|
|
125
|
+
"irmware\030\020 \001(\tH\017\210\001\001B\007\n\005_nameB\013\n\t_type_key" +
|
|
126
|
+
"B\006\n\004_macB\014\n\n_state_keyB\016\n\014_descriptionB\017" +
|
|
127
|
+
"\n\r_manufacturerB\010\n\006_modelB\020\n\016_serial_num" +
|
|
128
|
+
"berB\006\n\004_skuB\n\n\010_contactB\013\n\t_locationB\r\n\013" +
|
|
129
|
+
"_ip_addressB\020\n\016_purchase_dateB\020\n\016_warran" +
|
|
130
|
+
"ty_dateB\016\n\014_module_typeB\013\n\t_firmwareB\022P\001" +
|
|
131
|
+
"Z\016./generated-gob\006proto3"
|
|
132
132
|
};
|
|
133
133
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
134
134
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
@@ -163,13 +163,13 @@ public final class Assets {
|
|
|
163
163
|
internal_static_lansweeper_integrations_assets_v1_AssetCustom_fieldAccessorTable = new
|
|
164
164
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
165
165
|
internal_static_lansweeper_integrations_assets_v1_AssetCustom_descriptor,
|
|
166
|
-
new java.lang.String[] { "StateKey", "Location", "Building", "Department", "
|
|
166
|
+
new java.lang.String[] { "StateKey", "Location", "Building", "Department", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", "Fields", "StateName", "Comment", "Location", "Building", "Department", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", "StateName", "Comment", });
|
|
167
167
|
internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor =
|
|
168
168
|
getDescriptor().getMessageTypes().get(5);
|
|
169
169
|
internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_fieldAccessorTable = new
|
|
170
170
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
171
171
|
internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor,
|
|
172
|
-
new java.lang.String[] { "PurchaseOrderDate", "CostCenter", "VendorName", "InvoiceNumber", "AcquisitionType", "Owner", "PurchaseOrderDate", "CostCenter", "VendorName", "InvoiceNumber", "AcquisitionType", "Owner", });
|
|
172
|
+
new java.lang.String[] { "PurchaseOrderDate", "CostCenter", "VendorName", "InvoiceNumber", "AcquisitionType", "Owner", "Industry", "PurchaseOrderDate", "CostCenter", "VendorName", "InvoiceNumber", "AcquisitionType", "Owner", "Industry", });
|
|
173
173
|
internal_static_lansweeper_integrations_assets_v1_LockedFields_descriptor =
|
|
174
174
|
getDescriptor().getMessageTypes().get(6);
|
|
175
175
|
internal_static_lansweeper_integrations_assets_v1_LockedFields_fieldAccessorTable = new
|
|
@@ -22,6 +22,7 @@ private static final long serialVersionUID = 0L;
|
|
|
22
22
|
invoiceNumber_ = "";
|
|
23
23
|
acquisitionType_ = "";
|
|
24
24
|
owner_ = "";
|
|
25
|
+
industry_ = "";
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
@java.lang.Override
|
|
@@ -327,6 +328,53 @@ private static final long serialVersionUID = 0L;
|
|
|
327
328
|
}
|
|
328
329
|
}
|
|
329
330
|
|
|
331
|
+
public static final int INDUSTRY_FIELD_NUMBER = 7;
|
|
332
|
+
@SuppressWarnings("serial")
|
|
333
|
+
private volatile java.lang.Object industry_ = "";
|
|
334
|
+
/**
|
|
335
|
+
* <code>optional string industry = 7;</code>
|
|
336
|
+
* @return Whether the industry field is set.
|
|
337
|
+
*/
|
|
338
|
+
@java.lang.Override
|
|
339
|
+
public boolean hasIndustry() {
|
|
340
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* <code>optional string industry = 7;</code>
|
|
344
|
+
* @return The industry.
|
|
345
|
+
*/
|
|
346
|
+
@java.lang.Override
|
|
347
|
+
public java.lang.String getIndustry() {
|
|
348
|
+
java.lang.Object ref = industry_;
|
|
349
|
+
if (ref instanceof java.lang.String) {
|
|
350
|
+
return (java.lang.String) ref;
|
|
351
|
+
} else {
|
|
352
|
+
com.google.protobuf.ByteString bs =
|
|
353
|
+
(com.google.protobuf.ByteString) ref;
|
|
354
|
+
java.lang.String s = bs.toStringUtf8();
|
|
355
|
+
industry_ = s;
|
|
356
|
+
return s;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* <code>optional string industry = 7;</code>
|
|
361
|
+
* @return The bytes for industry.
|
|
362
|
+
*/
|
|
363
|
+
@java.lang.Override
|
|
364
|
+
public com.google.protobuf.ByteString
|
|
365
|
+
getIndustryBytes() {
|
|
366
|
+
java.lang.Object ref = industry_;
|
|
367
|
+
if (ref instanceof java.lang.String) {
|
|
368
|
+
com.google.protobuf.ByteString b =
|
|
369
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
370
|
+
(java.lang.String) ref);
|
|
371
|
+
industry_ = b;
|
|
372
|
+
return b;
|
|
373
|
+
} else {
|
|
374
|
+
return (com.google.protobuf.ByteString) ref;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
330
378
|
private byte memoizedIsInitialized = -1;
|
|
331
379
|
@java.lang.Override
|
|
332
380
|
public final boolean isInitialized() {
|
|
@@ -359,6 +407,9 @@ private static final long serialVersionUID = 0L;
|
|
|
359
407
|
if (((bitField0_ & 0x00000020) != 0)) {
|
|
360
408
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, owner_);
|
|
361
409
|
}
|
|
410
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
411
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, industry_);
|
|
412
|
+
}
|
|
362
413
|
getUnknownFields().writeTo(output);
|
|
363
414
|
}
|
|
364
415
|
|
|
@@ -386,6 +437,9 @@ private static final long serialVersionUID = 0L;
|
|
|
386
437
|
if (((bitField0_ & 0x00000020) != 0)) {
|
|
387
438
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, owner_);
|
|
388
439
|
}
|
|
440
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
441
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, industry_);
|
|
442
|
+
}
|
|
389
443
|
size += getUnknownFields().getSerializedSize();
|
|
390
444
|
memoizedSize = size;
|
|
391
445
|
return size;
|
|
@@ -431,6 +485,11 @@ private static final long serialVersionUID = 0L;
|
|
|
431
485
|
if (!getOwner()
|
|
432
486
|
.equals(other.getOwner())) return false;
|
|
433
487
|
}
|
|
488
|
+
if (hasIndustry() != other.hasIndustry()) return false;
|
|
489
|
+
if (hasIndustry()) {
|
|
490
|
+
if (!getIndustry()
|
|
491
|
+
.equals(other.getIndustry())) return false;
|
|
492
|
+
}
|
|
434
493
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
435
494
|
return true;
|
|
436
495
|
}
|
|
@@ -466,6 +525,10 @@ private static final long serialVersionUID = 0L;
|
|
|
466
525
|
hash = (37 * hash) + OWNER_FIELD_NUMBER;
|
|
467
526
|
hash = (53 * hash) + getOwner().hashCode();
|
|
468
527
|
}
|
|
528
|
+
if (hasIndustry()) {
|
|
529
|
+
hash = (37 * hash) + INDUSTRY_FIELD_NUMBER;
|
|
530
|
+
hash = (53 * hash) + getIndustry().hashCode();
|
|
531
|
+
}
|
|
469
532
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
470
533
|
memoizedHashCode = hash;
|
|
471
534
|
return hash;
|
|
@@ -601,6 +664,7 @@ private static final long serialVersionUID = 0L;
|
|
|
601
664
|
invoiceNumber_ = "";
|
|
602
665
|
acquisitionType_ = "";
|
|
603
666
|
owner_ = "";
|
|
667
|
+
industry_ = "";
|
|
604
668
|
return this;
|
|
605
669
|
}
|
|
606
670
|
|
|
@@ -659,6 +723,10 @@ private static final long serialVersionUID = 0L;
|
|
|
659
723
|
result.owner_ = owner_;
|
|
660
724
|
to_bitField0_ |= 0x00000020;
|
|
661
725
|
}
|
|
726
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
727
|
+
result.industry_ = industry_;
|
|
728
|
+
to_bitField0_ |= 0x00000040;
|
|
729
|
+
}
|
|
662
730
|
result.bitField0_ |= to_bitField0_;
|
|
663
731
|
}
|
|
664
732
|
|
|
@@ -704,6 +772,11 @@ private static final long serialVersionUID = 0L;
|
|
|
704
772
|
bitField0_ |= 0x00000020;
|
|
705
773
|
onChanged();
|
|
706
774
|
}
|
|
775
|
+
if (other.hasIndustry()) {
|
|
776
|
+
industry_ = other.industry_;
|
|
777
|
+
bitField0_ |= 0x00000040;
|
|
778
|
+
onChanged();
|
|
779
|
+
}
|
|
707
780
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
708
781
|
onChanged();
|
|
709
782
|
return this;
|
|
@@ -760,6 +833,11 @@ private static final long serialVersionUID = 0L;
|
|
|
760
833
|
bitField0_ |= 0x00000020;
|
|
761
834
|
break;
|
|
762
835
|
} // case 50
|
|
836
|
+
case 58: {
|
|
837
|
+
industry_ = input.readStringRequireUtf8();
|
|
838
|
+
bitField0_ |= 0x00000040;
|
|
839
|
+
break;
|
|
840
|
+
} // case 58
|
|
763
841
|
default: {
|
|
764
842
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
765
843
|
done = true; // was an endgroup tag
|
|
@@ -1250,6 +1328,85 @@ private static final long serialVersionUID = 0L;
|
|
|
1250
1328
|
onChanged();
|
|
1251
1329
|
return this;
|
|
1252
1330
|
}
|
|
1331
|
+
|
|
1332
|
+
private java.lang.Object industry_ = "";
|
|
1333
|
+
/**
|
|
1334
|
+
* <code>optional string industry = 7;</code>
|
|
1335
|
+
* @return Whether the industry field is set.
|
|
1336
|
+
*/
|
|
1337
|
+
public boolean hasIndustry() {
|
|
1338
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1339
|
+
}
|
|
1340
|
+
/**
|
|
1341
|
+
* <code>optional string industry = 7;</code>
|
|
1342
|
+
* @return The industry.
|
|
1343
|
+
*/
|
|
1344
|
+
public java.lang.String getIndustry() {
|
|
1345
|
+
java.lang.Object ref = industry_;
|
|
1346
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1347
|
+
com.google.protobuf.ByteString bs =
|
|
1348
|
+
(com.google.protobuf.ByteString) ref;
|
|
1349
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1350
|
+
industry_ = s;
|
|
1351
|
+
return s;
|
|
1352
|
+
} else {
|
|
1353
|
+
return (java.lang.String) ref;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* <code>optional string industry = 7;</code>
|
|
1358
|
+
* @return The bytes for industry.
|
|
1359
|
+
*/
|
|
1360
|
+
public com.google.protobuf.ByteString
|
|
1361
|
+
getIndustryBytes() {
|
|
1362
|
+
java.lang.Object ref = industry_;
|
|
1363
|
+
if (ref instanceof String) {
|
|
1364
|
+
com.google.protobuf.ByteString b =
|
|
1365
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1366
|
+
(java.lang.String) ref);
|
|
1367
|
+
industry_ = b;
|
|
1368
|
+
return b;
|
|
1369
|
+
} else {
|
|
1370
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* <code>optional string industry = 7;</code>
|
|
1375
|
+
* @param value The industry to set.
|
|
1376
|
+
* @return This builder for chaining.
|
|
1377
|
+
*/
|
|
1378
|
+
public Builder setIndustry(
|
|
1379
|
+
java.lang.String value) {
|
|
1380
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1381
|
+
industry_ = value;
|
|
1382
|
+
bitField0_ |= 0x00000040;
|
|
1383
|
+
onChanged();
|
|
1384
|
+
return this;
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* <code>optional string industry = 7;</code>
|
|
1388
|
+
* @return This builder for chaining.
|
|
1389
|
+
*/
|
|
1390
|
+
public Builder clearIndustry() {
|
|
1391
|
+
industry_ = getDefaultInstance().getIndustry();
|
|
1392
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1393
|
+
onChanged();
|
|
1394
|
+
return this;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* <code>optional string industry = 7;</code>
|
|
1398
|
+
* @param value The bytes for industry to set.
|
|
1399
|
+
* @return This builder for chaining.
|
|
1400
|
+
*/
|
|
1401
|
+
public Builder setIndustryBytes(
|
|
1402
|
+
com.google.protobuf.ByteString value) {
|
|
1403
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1404
|
+
checkByteStringIsUtf8(value);
|
|
1405
|
+
industry_ = value;
|
|
1406
|
+
bitField0_ |= 0x00000040;
|
|
1407
|
+
onChanged();
|
|
1408
|
+
return this;
|
|
1409
|
+
}
|
|
1253
1410
|
@java.lang.Override
|
|
1254
1411
|
public final Builder setUnknownFields(
|
|
1255
1412
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -108,4 +108,21 @@ public interface CloudAssetCustomOrBuilder extends
|
|
|
108
108
|
*/
|
|
109
109
|
com.google.protobuf.ByteString
|
|
110
110
|
getOwnerBytes();
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* <code>optional string industry = 7;</code>
|
|
114
|
+
* @return Whether the industry field is set.
|
|
115
|
+
*/
|
|
116
|
+
boolean hasIndustry();
|
|
117
|
+
/**
|
|
118
|
+
* <code>optional string industry = 7;</code>
|
|
119
|
+
* @return The industry.
|
|
120
|
+
*/
|
|
121
|
+
java.lang.String getIndustry();
|
|
122
|
+
/**
|
|
123
|
+
* <code>optional string industry = 7;</code>
|
|
124
|
+
* @return The bytes for industry.
|
|
125
|
+
*/
|
|
126
|
+
com.google.protobuf.ByteString
|
|
127
|
+
getIndustryBytes();
|
|
111
128
|
}
|
|
Binary file
|
|
Binary file
|