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

Commit 7a71fe4

Browse files
yoshi-automationchingor13
authored andcommitted
chore(regen): update license year for generated files (#52)
1 parent fb7d54b commit 7a71fe4

30 files changed

Lines changed: 34 additions & 74 deletions

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisClient.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -199,7 +199,6 @@ public ContainerAnalysisStub getStub() {
199199
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
200200
*/
201201
public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
202-
203202
SetIamPolicyRequest request =
204203
SetIamPolicyRequest.newBuilder()
205204
.setResource(resource == null ? null : resource.toString())
@@ -235,7 +234,6 @@ public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
235234
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
236235
*/
237236
public final Policy setIamPolicy(String resource, Policy policy) {
238-
239237
SetIamPolicyRequest request =
240238
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
241239
return setIamPolicy(request);
@@ -323,7 +321,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
323321
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
324322
*/
325323
public final Policy getIamPolicy(IamResourceName resource) {
326-
327324
GetIamPolicyRequest request =
328325
GetIamPolicyRequest.newBuilder()
329326
.setResource(resource == null ? null : resource.toString())
@@ -354,7 +351,6 @@ public final Policy getIamPolicy(IamResourceName resource) {
354351
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
355352
*/
356353
public final Policy getIamPolicy(String resource) {
357-
358354
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
359355
return getIamPolicy(request);
360356
}
@@ -441,7 +437,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
441437
*/
442438
public final TestIamPermissionsResponse testIamPermissions(
443439
IamResourceName resource, List<String> permissions) {
444-
445440
TestIamPermissionsRequest request =
446441
TestIamPermissionsRequest.newBuilder()
447442
.setResource(resource == null ? null : resource.toString())
@@ -477,7 +472,6 @@ public final TestIamPermissionsResponse testIamPermissions(
477472
*/
478473
public final TestIamPermissionsResponse testIamPermissions(
479474
String resource, List<String> permissions) {
480-
481475
TestIamPermissionsRequest request =
482476
TestIamPermissionsRequest.newBuilder()
483477
.setResource(resource)

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/ContainerAnalysisSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/GrpcContainerAnalysisCallableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/GrpcContainerAnalysisStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -207,7 +207,6 @@ public ContainerAnalysisV1Beta1Stub getStub() {
207207
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
208208
*/
209209
public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
210-
211210
SetIamPolicyRequest request =
212211
SetIamPolicyRequest.newBuilder()
213212
.setResource(resource == null ? null : resource.toString())
@@ -243,7 +242,6 @@ public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
243242
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
244243
*/
245244
public final Policy setIamPolicy(String resource, Policy policy) {
246-
247245
SetIamPolicyRequest request =
248246
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
249247
return setIamPolicy(request);
@@ -331,7 +329,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
331329
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
332330
*/
333331
public final Policy getIamPolicy(IamResourceName resource) {
334-
335332
GetIamPolicyRequest request =
336333
GetIamPolicyRequest.newBuilder()
337334
.setResource(resource == null ? null : resource.toString())
@@ -362,7 +359,6 @@ public final Policy getIamPolicy(IamResourceName resource) {
362359
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
363360
*/
364361
public final Policy getIamPolicy(String resource) {
365-
366362
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
367363
return getIamPolicy(request);
368364
}
@@ -449,7 +445,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
449445
*/
450446
public final TestIamPermissionsResponse testIamPermissions(
451447
IamResourceName resource, List<String> permissions) {
452-
453448
TestIamPermissionsRequest request =
454449
TestIamPermissionsRequest.newBuilder()
455450
.setResource(resource == null ? null : resource.toString())
@@ -485,7 +480,6 @@ public final TestIamPermissionsResponse testIamPermissions(
485480
*/
486481
public final TestIamPermissionsResponse testIamPermissions(
487482
String resource, List<String> permissions) {
488-
489483
TestIamPermissionsRequest request =
490484
TestIamPermissionsRequest.newBuilder()
491485
.setResource(resource)
@@ -570,7 +564,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
570564
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
571565
*/
572566
public final ScanConfig getScanConfig(ScanConfigName name) {
573-
574567
GetScanConfigRequest request =
575568
GetScanConfigRequest.newBuilder().setName(name == null ? null : name.toString()).build();
576569
return getScanConfig(request);
@@ -594,7 +587,6 @@ public final ScanConfig getScanConfig(ScanConfigName name) {
594587
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
595588
*/
596589
public final ScanConfig getScanConfig(String name) {
597-
598590
GetScanConfigRequest request = GetScanConfigRequest.newBuilder().setName(name).build();
599591
return getScanConfig(request);
600592
}
@@ -803,7 +795,6 @@ public final ListScanConfigsPagedResponse listScanConfigs(ListScanConfigsRequest
803795
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
804796
*/
805797
public final ScanConfig updateScanConfig(ScanConfigName name, ScanConfig scanConfig) {
806-
807798
UpdateScanConfigRequest request =
808799
UpdateScanConfigRequest.newBuilder()
809800
.setName(name == null ? null : name.toString())
@@ -832,7 +823,6 @@ public final ScanConfig updateScanConfig(ScanConfigName name, ScanConfig scanCon
832823
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
833824
*/
834825
public final ScanConfig updateScanConfig(String name, ScanConfig scanConfig) {
835-
836826
UpdateScanConfigRequest request =
837827
UpdateScanConfigRequest.newBuilder().setName(name).setScanConfig(scanConfig).build();
838828
return updateScanConfig(request);

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Settings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -211,7 +211,6 @@ public GrafeasV1Beta1Stub getStub() {
211211
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
212212
*/
213213
public final Occurrence getOccurrence(OccurrenceName name) {
214-
215214
GetOccurrenceRequest request =
216215
GetOccurrenceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
217216
return getOccurrence(request);
@@ -235,7 +234,6 @@ public final Occurrence getOccurrence(OccurrenceName name) {
235234
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
236235
*/
237236
public final Occurrence getOccurrence(String name) {
238-
239237
GetOccurrenceRequest request = GetOccurrenceRequest.newBuilder().setName(name).build();
240238
return getOccurrence(request);
241239
}
@@ -443,7 +441,6 @@ public final ListOccurrencesPagedResponse listOccurrences(ListOccurrencesRequest
443441
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
444442
*/
445443
public final void deleteOccurrence(OccurrenceName name) {
446-
447444
DeleteOccurrenceRequest request =
448445
DeleteOccurrenceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
449446
deleteOccurrence(request);
@@ -468,7 +465,6 @@ public final void deleteOccurrence(OccurrenceName name) {
468465
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
469466
*/
470467
public final void deleteOccurrence(String name) {
471-
472468
DeleteOccurrenceRequest request = DeleteOccurrenceRequest.newBuilder().setName(name).build();
473469
deleteOccurrence(request);
474470
}
@@ -540,7 +536,6 @@ public final UnaryCallable<DeleteOccurrenceRequest, Empty> deleteOccurrenceCalla
540536
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
541537
*/
542538
public final Occurrence createOccurrence(ProjectName parent, Occurrence occurrence) {
543-
544539
CreateOccurrenceRequest request =
545540
CreateOccurrenceRequest.newBuilder()
546541
.setParent(parent == null ? null : parent.toString())
@@ -569,7 +564,6 @@ public final Occurrence createOccurrence(ProjectName parent, Occurrence occurren
569564
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
570565
*/
571566
public final Occurrence createOccurrence(String parent, Occurrence occurrence) {
572-
573567
CreateOccurrenceRequest request =
574568
CreateOccurrenceRequest.newBuilder().setParent(parent).setOccurrence(occurrence).build();
575569
return createOccurrence(request);
@@ -645,7 +639,6 @@ public final UnaryCallable<CreateOccurrenceRequest, Occurrence> createOccurrence
645639
*/
646640
public final BatchCreateOccurrencesResponse batchCreateOccurrences(
647641
ProjectName parent, List<Occurrence> occurrences) {
648-
649642
BatchCreateOccurrencesRequest request =
650643
BatchCreateOccurrencesRequest.newBuilder()
651644
.setParent(parent == null ? null : parent.toString())
@@ -675,7 +668,6 @@ public final BatchCreateOccurrencesResponse batchCreateOccurrences(
675668
*/
676669
public final BatchCreateOccurrencesResponse batchCreateOccurrences(
677670
String parent, List<Occurrence> occurrences) {
678-
679671
BatchCreateOccurrencesRequest request =
680672
BatchCreateOccurrencesRequest.newBuilder()
681673
.setParent(parent)
@@ -758,7 +750,6 @@ public final BatchCreateOccurrencesResponse batchCreateOccurrences(
758750
*/
759751
public final Occurrence updateOccurrence(
760752
OccurrenceName name, Occurrence occurrence, FieldMask updateMask) {
761-
762753
UpdateOccurrenceRequest request =
763754
UpdateOccurrenceRequest.newBuilder()
764755
.setName(name == null ? null : name.toString())
@@ -791,7 +782,6 @@ public final Occurrence updateOccurrence(
791782
*/
792783
public final Occurrence updateOccurrence(
793784
String name, Occurrence occurrence, FieldMask updateMask) {
794-
795785
UpdateOccurrenceRequest request =
796786
UpdateOccurrenceRequest.newBuilder()
797787
.setName(name)
@@ -869,7 +859,6 @@ public final UnaryCallable<UpdateOccurrenceRequest, Occurrence> updateOccurrence
869859
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
870860
*/
871861
public final Note getOccurrenceNote(OccurrenceName name) {
872-
873862
GetOccurrenceNoteRequest request =
874863
GetOccurrenceNoteRequest.newBuilder()
875864
.setName(name == null ? null : name.toString())
@@ -896,7 +885,6 @@ public final Note getOccurrenceNote(OccurrenceName name) {
896885
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
897886
*/
898887
public final Note getOccurrenceNote(String name) {
899-
900888
GetOccurrenceNoteRequest request = GetOccurrenceNoteRequest.newBuilder().setName(name).build();
901889
return getOccurrenceNote(request);
902890
}
@@ -965,7 +953,6 @@ public final UnaryCallable<GetOccurrenceNoteRequest, Note> getOccurrenceNoteCall
965953
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
966954
*/
967955
public final Note getNote(NoteName name) {
968-
969956
GetNoteRequest request =
970957
GetNoteRequest.newBuilder().setName(name == null ? null : name.toString()).build();
971958
return getNote(request);
@@ -988,7 +975,6 @@ public final Note getNote(NoteName name) {
988975
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
989976
*/
990977
public final Note getNote(String name) {
991-
992978
GetNoteRequest request = GetNoteRequest.newBuilder().setName(name).build();
993979
return getNote(request);
994980
}
@@ -1190,7 +1176,6 @@ public final UnaryCallable<ListNotesRequest, ListNotesResponse> listNotesCallabl
11901176
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11911177
*/
11921178
public final void deleteNote(NoteName name) {
1193-
11941179
DeleteNoteRequest request =
11951180
DeleteNoteRequest.newBuilder().setName(name == null ? null : name.toString()).build();
11961181
deleteNote(request);
@@ -1213,7 +1198,6 @@ public final void deleteNote(NoteName name) {
12131198
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12141199
*/
12151200
public final void deleteNote(String name) {
1216-
12171201
DeleteNoteRequest request = DeleteNoteRequest.newBuilder().setName(name).build();
12181202
deleteNote(request);
12191203
}
@@ -1285,7 +1269,6 @@ public final UnaryCallable<DeleteNoteRequest, Empty> deleteNoteCallable() {
12851269
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12861270
*/
12871271
public final Note createNote(ProjectName parent, String noteId, Note note) {
1288-
12891272
CreateNoteRequest request =
12901273
CreateNoteRequest.newBuilder()
12911274
.setParent(parent == null ? null : parent.toString())
@@ -1317,7 +1300,6 @@ public final Note createNote(ProjectName parent, String noteId, Note note) {
13171300
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13181301
*/
13191302
public final Note createNote(String parent, String noteId, Note note) {
1320-
13211303
CreateNoteRequest request =
13221304
CreateNoteRequest.newBuilder().setParent(parent).setNoteId(noteId).setNote(note).build();
13231305
return createNote(request);
@@ -1397,7 +1379,6 @@ public final UnaryCallable<CreateNoteRequest, Note> createNoteCallable() {
13971379
*/
13981380
public final BatchCreateNotesResponse batchCreateNotes(
13991381
ProjectName parent, Map<String, Note> notes) {
1400-
14011382
BatchCreateNotesRequest request =
14021383
BatchCreateNotesRequest.newBuilder()
14031384
.setParent(parent == null ? null : parent.toString())
@@ -1426,7 +1407,6 @@ public final BatchCreateNotesResponse batchCreateNotes(
14261407
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14271408
*/
14281409
public final BatchCreateNotesResponse batchCreateNotes(String parent, Map<String, Note> notes) {
1429-
14301410
BatchCreateNotesRequest request =
14311411
BatchCreateNotesRequest.newBuilder().setParent(parent).putAllNotes(notes).build();
14321412
return batchCreateNotes(request);
@@ -1503,7 +1483,6 @@ public final BatchCreateNotesResponse batchCreateNotes(BatchCreateNotesRequest r
15031483
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15041484
*/
15051485
public final Note updateNote(NoteName name, Note note, FieldMask updateMask) {
1506-
15071486
UpdateNoteRequest request =
15081487
UpdateNoteRequest.newBuilder()
15091488
.setName(name == null ? null : name.toString())
@@ -1534,7 +1513,6 @@ public final Note updateNote(NoteName name, Note note, FieldMask updateMask) {
15341513
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15351514
*/
15361515
public final Note updateNote(String name, Note note, FieldMask updateMask) {
1537-
15381516
UpdateNoteRequest request =
15391517
UpdateNoteRequest.newBuilder()
15401518
.setName(name)
@@ -1759,7 +1737,6 @@ public final ListNoteOccurrencesPagedResponse listNoteOccurrences(
17591737
*/
17601738
public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
17611739
ProjectName parent, String filter) {
1762-
17631740
GetVulnerabilityOccurrencesSummaryRequest request =
17641741
GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
17651742
.setParent(parent == null ? null : parent.toString())
@@ -1789,7 +1766,6 @@ public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
17891766
*/
17901767
public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
17911768
String parent, String filter) {
1792-
17931769
GetVulnerabilityOccurrencesSummaryRequest request =
17941770
GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
17951771
.setParent(parent)

0 commit comments

Comments
 (0)