Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit d02bfce

Browse files
chore: regenerate with updated protoc (#150)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/bc5f29c9-de4e-484a-96d3-b4a4987109b1/targets PiperOrigin-RevId: 313460921 Source-Link: googleapis/googleapis@c4e3701
1 parent 879a415 commit d02bfce

File tree

98 files changed

+1172
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1172
-7
lines changed

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java

+43
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
643643
*
644644
* @return The resourceName.
645645
*/
646+
@java.lang.Override
646647
public java.lang.String getResourceName() {
647648
java.lang.Object ref = resourceName_;
648649
if (ref instanceof java.lang.String) {
@@ -667,6 +668,7 @@ public java.lang.String getResourceName() {
667668
*
668669
* @return The bytes for resourceName.
669670
*/
671+
@java.lang.Override
670672
public com.google.protobuf.ByteString getResourceNameBytes() {
671673
java.lang.Object ref = resourceName_;
672674
if (ref instanceof java.lang.String) {
@@ -695,6 +697,7 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
695697
*
696698
* @return The resourceType.
697699
*/
700+
@java.lang.Override
698701
public java.lang.String getResourceType() {
699702
java.lang.Object ref = resourceType_;
700703
if (ref instanceof java.lang.String) {
@@ -720,6 +723,7 @@ public java.lang.String getResourceType() {
720723
*
721724
* @return The bytes for resourceType.
722725
*/
726+
@java.lang.Override
723727
public com.google.protobuf.ByteString getResourceTypeBytes() {
724728
java.lang.Object ref = resourceType_;
725729
if (ref instanceof java.lang.String) {
@@ -746,6 +750,7 @@ public com.google.protobuf.ByteString getResourceTypeBytes() {
746750
*
747751
* @return The resourceParent.
748752
*/
753+
@java.lang.Override
749754
public java.lang.String getResourceParent() {
750755
java.lang.Object ref = resourceParent_;
751756
if (ref instanceof java.lang.String) {
@@ -769,6 +774,7 @@ public java.lang.String getResourceParent() {
769774
*
770775
* @return The bytes for resourceParent.
771776
*/
777+
@java.lang.Override
772778
public com.google.protobuf.ByteString getResourceParentBytes() {
773779
java.lang.Object ref = resourceParent_;
774780
if (ref instanceof java.lang.String) {
@@ -795,6 +801,7 @@ public com.google.protobuf.ByteString getResourceParentBytes() {
795801
*
796802
* @return The resourceProject.
797803
*/
804+
@java.lang.Override
798805
public java.lang.String getResourceProject() {
799806
java.lang.Object ref = resourceProject_;
800807
if (ref instanceof java.lang.String) {
@@ -818,6 +825,7 @@ public java.lang.String getResourceProject() {
818825
*
819826
* @return The bytes for resourceProject.
820827
*/
828+
@java.lang.Override
821829
public com.google.protobuf.ByteString getResourceProjectBytes() {
822830
java.lang.Object ref = resourceProject_;
823831
if (ref instanceof java.lang.String) {
@@ -904,6 +912,7 @@ public com.google.protobuf.ByteString getResourceOwnersBytes(int index) {
904912
*
905913
* @return The resourceDisplayName.
906914
*/
915+
@java.lang.Override
907916
public java.lang.String getResourceDisplayName() {
908917
java.lang.Object ref = resourceDisplayName_;
909918
if (ref instanceof java.lang.String) {
@@ -926,6 +935,7 @@ public java.lang.String getResourceDisplayName() {
926935
*
927936
* @return The bytes for resourceDisplayName.
928937
*/
938+
@java.lang.Override
929939
public com.google.protobuf.ByteString getResourceDisplayNameBytes() {
930940
java.lang.Object ref = resourceDisplayName_;
931941
if (ref instanceof java.lang.String) {
@@ -951,6 +961,7 @@ public com.google.protobuf.ByteString getResourceDisplayNameBytes() {
951961
*
952962
* @return The resourceParentDisplayName.
953963
*/
964+
@java.lang.Override
954965
public java.lang.String getResourceParentDisplayName() {
955966
java.lang.Object ref = resourceParentDisplayName_;
956967
if (ref instanceof java.lang.String) {
@@ -973,6 +984,7 @@ public java.lang.String getResourceParentDisplayName() {
973984
*
974985
* @return The bytes for resourceParentDisplayName.
975986
*/
987+
@java.lang.Override
976988
public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() {
977989
java.lang.Object ref = resourceParentDisplayName_;
978990
if (ref instanceof java.lang.String) {
@@ -998,6 +1010,7 @@ public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() {
9981010
*
9991011
* @return The resourceProjectDisplayName.
10001012
*/
1013+
@java.lang.Override
10011014
public java.lang.String getResourceProjectDisplayName() {
10021015
java.lang.Object ref = resourceProjectDisplayName_;
10031016
if (ref instanceof java.lang.String) {
@@ -1020,6 +1033,7 @@ public java.lang.String getResourceProjectDisplayName() {
10201033
*
10211034
* @return The bytes for resourceProjectDisplayName.
10221035
*/
1036+
@java.lang.Override
10231037
public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes() {
10241038
java.lang.Object ref = resourceProjectDisplayName_;
10251039
if (ref instanceof java.lang.String) {
@@ -2645,6 +2659,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
26452659
*
26462660
* @return The policyBlob.
26472661
*/
2662+
@java.lang.Override
26482663
public java.lang.String getPolicyBlob() {
26492664
java.lang.Object ref = policyBlob_;
26502665
if (ref instanceof java.lang.String) {
@@ -2669,6 +2684,7 @@ public java.lang.String getPolicyBlob() {
26692684
*
26702685
* @return The bytes for policyBlob.
26712686
*/
2687+
@java.lang.Override
26722688
public com.google.protobuf.ByteString getPolicyBlobBytes() {
26732689
java.lang.Object ref = policyBlob_;
26742690
if (ref instanceof java.lang.String) {
@@ -3189,6 +3205,7 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy getDefaultInstanceForT
31893205
*
31903206
* @return The name.
31913207
*/
3208+
@java.lang.Override
31923209
public java.lang.String getName() {
31933210
java.lang.Object ref = name_;
31943211
if (ref instanceof java.lang.String) {
@@ -3214,6 +3231,7 @@ public java.lang.String getName() {
32143231
*
32153232
* @return The bytes for name.
32163233
*/
3234+
@java.lang.Override
32173235
public com.google.protobuf.ByteString getNameBytes() {
32183236
java.lang.Object ref = name_;
32193237
if (ref instanceof java.lang.String) {
@@ -3243,6 +3261,7 @@ public com.google.protobuf.ByteString getNameBytes() {
32433261
*
32443262
* @return Whether the securityCenterProperties field is set.
32453263
*/
3264+
@java.lang.Override
32463265
public boolean hasSecurityCenterProperties() {
32473266
return securityCenterProperties_ != null;
32483267
}
@@ -3260,6 +3279,7 @@ public boolean hasSecurityCenterProperties() {
32603279
*
32613280
* @return The securityCenterProperties.
32623281
*/
3282+
@java.lang.Override
32633283
public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
32643284
getSecurityCenterProperties() {
32653285
return securityCenterProperties_ == null
@@ -3278,6 +3298,7 @@ public boolean hasSecurityCenterProperties() {
32783298
* .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
32793299
* </code>
32803300
*/
3301+
@java.lang.Override
32813302
public com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder
32823303
getSecurityCenterPropertiesOrBuilder() {
32833304
return getSecurityCenterProperties();
@@ -3323,13 +3344,15 @@ public int getResourcePropertiesCount() {
33233344
*
33243345
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
33253346
*/
3347+
@java.lang.Override
33263348
public boolean containsResourceProperties(java.lang.String key) {
33273349
if (key == null) {
33283350
throw new java.lang.NullPointerException();
33293351
}
33303352
return internalGetResourceProperties().getMap().containsKey(key);
33313353
}
33323354
/** Use {@link #getResourcePropertiesMap()} instead. */
3355+
@java.lang.Override
33333356
@java.lang.Deprecated
33343357
public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourceProperties() {
33353358
return getResourcePropertiesMap();
@@ -3344,6 +3367,7 @@ public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePro
33443367
*
33453368
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
33463369
*/
3370+
@java.lang.Override
33473371
public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePropertiesMap() {
33483372
return internalGetResourceProperties().getMap();
33493373
}
@@ -3357,6 +3381,7 @@ public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePro
33573381
*
33583382
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
33593383
*/
3384+
@java.lang.Override
33603385
public com.google.protobuf.Value getResourcePropertiesOrDefault(
33613386
java.lang.String key, com.google.protobuf.Value defaultValue) {
33623387
if (key == null) {
@@ -3376,6 +3401,7 @@ public com.google.protobuf.Value getResourcePropertiesOrDefault(
33763401
*
33773402
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
33783403
*/
3404+
@java.lang.Override
33793405
public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key) {
33803406
if (key == null) {
33813407
throw new java.lang.NullPointerException();
@@ -3402,6 +3428,7 @@ public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String k
34023428
*
34033429
* @return Whether the securityMarks field is set.
34043430
*/
3431+
@java.lang.Override
34053432
public boolean hasSecurityMarks() {
34063433
return securityMarks_ != null;
34073434
}
@@ -3417,6 +3444,7 @@ public boolean hasSecurityMarks() {
34173444
*
34183445
* @return The securityMarks.
34193446
*/
3447+
@java.lang.Override
34203448
public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() {
34213449
return securityMarks_ == null
34223450
? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance()
@@ -3432,6 +3460,7 @@ public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() {
34323460
*
34333461
* <code>.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;</code>
34343462
*/
3463+
@java.lang.Override
34353464
public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder() {
34363465
return getSecurityMarks();
34373466
}
@@ -3449,6 +3478,7 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
34493478
*
34503479
* @return Whether the createTime field is set.
34513480
*/
3481+
@java.lang.Override
34523482
public boolean hasCreateTime() {
34533483
return createTime_ != null;
34543484
}
@@ -3463,6 +3493,7 @@ public boolean hasCreateTime() {
34633493
*
34643494
* @return The createTime.
34653495
*/
3496+
@java.lang.Override
34663497
public com.google.protobuf.Timestamp getCreateTime() {
34673498
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
34683499
}
@@ -3475,6 +3506,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
34753506
*
34763507
* <code>.google.protobuf.Timestamp create_time = 9;</code>
34773508
*/
3509+
@java.lang.Override
34783510
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
34793511
return getCreateTime();
34803512
}
@@ -3493,6 +3525,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
34933525
*
34943526
* @return Whether the updateTime field is set.
34953527
*/
3528+
@java.lang.Override
34963529
public boolean hasUpdateTime() {
34973530
return updateTime_ != null;
34983531
}
@@ -3508,6 +3541,7 @@ public boolean hasUpdateTime() {
35083541
*
35093542
* @return The updateTime.
35103543
*/
3544+
@java.lang.Override
35113545
public com.google.protobuf.Timestamp getUpdateTime() {
35123546
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
35133547
}
@@ -3521,6 +3555,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
35213555
*
35223556
* <code>.google.protobuf.Timestamp update_time = 10;</code>
35233557
*/
3558+
@java.lang.Override
35243559
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
35253560
return getUpdateTime();
35263561
}
@@ -3540,6 +3575,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
35403575
*
35413576
* @return Whether the iamPolicy field is set.
35423577
*/
3578+
@java.lang.Override
35433579
public boolean hasIamPolicy() {
35443580
return iamPolicy_ != null;
35453581
}
@@ -3556,6 +3592,7 @@ public boolean hasIamPolicy() {
35563592
*
35573593
* @return The iamPolicy.
35583594
*/
3595+
@java.lang.Override
35593596
public com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy() {
35603597
return iamPolicy_ == null
35613598
? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance()
@@ -3572,6 +3609,7 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy() {
35723609
*
35733610
* <code>.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;</code>
35743611
*/
3612+
@java.lang.Override
35753613
public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyOrBuilder() {
35763614
return getIamPolicy();
35773615
}
@@ -4467,13 +4505,15 @@ public int getResourcePropertiesCount() {
44674505
*
44684506
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
44694507
*/
4508+
@java.lang.Override
44704509
public boolean containsResourceProperties(java.lang.String key) {
44714510
if (key == null) {
44724511
throw new java.lang.NullPointerException();
44734512
}
44744513
return internalGetResourceProperties().getMap().containsKey(key);
44754514
}
44764515
/** Use {@link #getResourcePropertiesMap()} instead. */
4516+
@java.lang.Override
44774517
@java.lang.Deprecated
44784518
public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourceProperties() {
44794519
return getResourcePropertiesMap();
@@ -4488,6 +4528,7 @@ public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePro
44884528
*
44894529
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
44904530
*/
4531+
@java.lang.Override
44914532
public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePropertiesMap() {
44924533
return internalGetResourceProperties().getMap();
44934534
}
@@ -4501,6 +4542,7 @@ public java.util.Map<java.lang.String, com.google.protobuf.Value> getResourcePro
45014542
*
45024543
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
45034544
*/
4545+
@java.lang.Override
45044546
public com.google.protobuf.Value getResourcePropertiesOrDefault(
45054547
java.lang.String key, com.google.protobuf.Value defaultValue) {
45064548
if (key == null) {
@@ -4520,6 +4562,7 @@ public com.google.protobuf.Value getResourcePropertiesOrDefault(
45204562
*
45214563
* <code>map&lt;string, .google.protobuf.Value&gt; resource_properties = 7;</code>
45224564
*/
4565+
@java.lang.Override
45234566
public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key) {
45244567
if (key == null) {
45254568
throw new java.lang.NullPointerException();

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java

+7
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
151151
*
152152
* @return The parent.
153153
*/
154+
@java.lang.Override
154155
public java.lang.String getParent() {
155156
java.lang.Object ref = parent_;
156157
if (ref instanceof java.lang.String) {
@@ -176,6 +177,7 @@ public java.lang.String getParent() {
176177
*
177178
* @return The bytes for parent.
178179
*/
180+
@java.lang.Override
179181
public com.google.protobuf.ByteString getParentBytes() {
180182
java.lang.Object ref = parent_;
181183
if (ref instanceof java.lang.String) {
@@ -203,6 +205,7 @@ public com.google.protobuf.ByteString getParentBytes() {
203205
*
204206
* @return The findingId.
205207
*/
208+
@java.lang.Override
206209
public java.lang.String getFindingId() {
207210
java.lang.Object ref = findingId_;
208211
if (ref instanceof java.lang.String) {
@@ -227,6 +230,7 @@ public java.lang.String getFindingId() {
227230
*
228231
* @return The bytes for findingId.
229232
*/
233+
@java.lang.Override
230234
public com.google.protobuf.ByteString getFindingIdBytes() {
231235
java.lang.Object ref = findingId_;
232236
if (ref instanceof java.lang.String) {
@@ -255,6 +259,7 @@ public com.google.protobuf.ByteString getFindingIdBytes() {
255259
*
256260
* @return Whether the finding field is set.
257261
*/
262+
@java.lang.Override
258263
public boolean hasFinding() {
259264
return finding_ != null;
260265
}
@@ -272,6 +277,7 @@ public boolean hasFinding() {
272277
*
273278
* @return The finding.
274279
*/
280+
@java.lang.Override
275281
public com.google.cloud.securitycenter.v1.Finding getFinding() {
276282
return finding_ == null
277283
? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance()
@@ -289,6 +295,7 @@ public com.google.cloud.securitycenter.v1.Finding getFinding() {
289295
* .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
290296
* </code>
291297
*/
298+
@java.lang.Override
292299
public com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder() {
293300
return getFinding();
294301
}

0 commit comments

Comments
 (0)