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

Commit

Permalink
chore(regen): update license year for generated files (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Jan 15, 2020
1 parent fb7d54b commit 7a71fe4
Show file tree
Hide file tree
Showing 30 changed files with 34 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -199,7 +199,6 @@ public ContainerAnalysisStub getStub() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(IamResourceName resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -235,7 +234,6 @@ public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(String resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
return setIamPolicy(request);
Expand Down Expand Up @@ -323,7 +321,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(IamResourceName resource) {

GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -354,7 +351,6 @@ public final Policy getIamPolicy(IamResourceName resource) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(String resource) {

GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
return getIamPolicy(request);
}
Expand Down Expand Up @@ -441,7 +437,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*/
public final TestIamPermissionsResponse testIamPermissions(
IamResourceName resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -477,7 +472,6 @@ public final TestIamPermissionsResponse testIamPermissions(
*/
public final TestIamPermissionsResponse testIamPermissions(
String resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -207,7 +207,6 @@ public ContainerAnalysisV1Beta1Stub getStub() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(IamResourceName resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -243,7 +242,6 @@ public final Policy setIamPolicy(IamResourceName resource, Policy policy) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(String resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
return setIamPolicy(request);
Expand Down Expand Up @@ -331,7 +329,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(IamResourceName resource) {

GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -362,7 +359,6 @@ public final Policy getIamPolicy(IamResourceName resource) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(String resource) {

GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
return getIamPolicy(request);
}
Expand Down Expand Up @@ -449,7 +445,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*/
public final TestIamPermissionsResponse testIamPermissions(
IamResourceName resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -485,7 +480,6 @@ public final TestIamPermissionsResponse testIamPermissions(
*/
public final TestIamPermissionsResponse testIamPermissions(
String resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource)
Expand Down Expand Up @@ -570,7 +564,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ScanConfig getScanConfig(ScanConfigName name) {

GetScanConfigRequest request =
GetScanConfigRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getScanConfig(request);
Expand All @@ -594,7 +587,6 @@ public final ScanConfig getScanConfig(ScanConfigName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ScanConfig getScanConfig(String name) {

GetScanConfigRequest request = GetScanConfigRequest.newBuilder().setName(name).build();
return getScanConfig(request);
}
Expand Down Expand Up @@ -803,7 +795,6 @@ public final ListScanConfigsPagedResponse listScanConfigs(ListScanConfigsRequest
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ScanConfig updateScanConfig(ScanConfigName name, ScanConfig scanConfig) {

UpdateScanConfigRequest request =
UpdateScanConfigRequest.newBuilder()
.setName(name == null ? null : name.toString())
Expand Down Expand Up @@ -832,7 +823,6 @@ public final ScanConfig updateScanConfig(ScanConfigName name, ScanConfig scanCon
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ScanConfig updateScanConfig(String name, ScanConfig scanConfig) {

UpdateScanConfigRequest request =
UpdateScanConfigRequest.newBuilder().setName(name).setScanConfig(scanConfig).build();
return updateScanConfig(request);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -211,7 +211,6 @@ public GrafeasV1Beta1Stub getStub() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Occurrence getOccurrence(OccurrenceName name) {

GetOccurrenceRequest request =
GetOccurrenceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getOccurrence(request);
Expand All @@ -235,7 +234,6 @@ public final Occurrence getOccurrence(OccurrenceName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Occurrence getOccurrence(String name) {

GetOccurrenceRequest request = GetOccurrenceRequest.newBuilder().setName(name).build();
return getOccurrence(request);
}
Expand Down Expand Up @@ -443,7 +441,6 @@ public final ListOccurrencesPagedResponse listOccurrences(ListOccurrencesRequest
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteOccurrence(OccurrenceName name) {

DeleteOccurrenceRequest request =
DeleteOccurrenceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteOccurrence(request);
Expand All @@ -468,7 +465,6 @@ public final void deleteOccurrence(OccurrenceName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteOccurrence(String name) {

DeleteOccurrenceRequest request = DeleteOccurrenceRequest.newBuilder().setName(name).build();
deleteOccurrence(request);
}
Expand Down Expand Up @@ -540,7 +536,6 @@ public final UnaryCallable<DeleteOccurrenceRequest, Empty> deleteOccurrenceCalla
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Occurrence createOccurrence(ProjectName parent, Occurrence occurrence) {

CreateOccurrenceRequest request =
CreateOccurrenceRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -569,7 +564,6 @@ public final Occurrence createOccurrence(ProjectName parent, Occurrence occurren
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Occurrence createOccurrence(String parent, Occurrence occurrence) {

CreateOccurrenceRequest request =
CreateOccurrenceRequest.newBuilder().setParent(parent).setOccurrence(occurrence).build();
return createOccurrence(request);
Expand Down Expand Up @@ -645,7 +639,6 @@ public final UnaryCallable<CreateOccurrenceRequest, Occurrence> createOccurrence
*/
public final BatchCreateOccurrencesResponse batchCreateOccurrences(
ProjectName parent, List<Occurrence> occurrences) {

BatchCreateOccurrencesRequest request =
BatchCreateOccurrencesRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -675,7 +668,6 @@ public final BatchCreateOccurrencesResponse batchCreateOccurrences(
*/
public final BatchCreateOccurrencesResponse batchCreateOccurrences(
String parent, List<Occurrence> occurrences) {

BatchCreateOccurrencesRequest request =
BatchCreateOccurrencesRequest.newBuilder()
.setParent(parent)
Expand Down Expand Up @@ -758,7 +750,6 @@ public final BatchCreateOccurrencesResponse batchCreateOccurrences(
*/
public final Occurrence updateOccurrence(
OccurrenceName name, Occurrence occurrence, FieldMask updateMask) {

UpdateOccurrenceRequest request =
UpdateOccurrenceRequest.newBuilder()
.setName(name == null ? null : name.toString())
Expand Down Expand Up @@ -791,7 +782,6 @@ public final Occurrence updateOccurrence(
*/
public final Occurrence updateOccurrence(
String name, Occurrence occurrence, FieldMask updateMask) {

UpdateOccurrenceRequest request =
UpdateOccurrenceRequest.newBuilder()
.setName(name)
Expand Down Expand Up @@ -869,7 +859,6 @@ public final UnaryCallable<UpdateOccurrenceRequest, Occurrence> updateOccurrence
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note getOccurrenceNote(OccurrenceName name) {

GetOccurrenceNoteRequest request =
GetOccurrenceNoteRequest.newBuilder()
.setName(name == null ? null : name.toString())
Expand All @@ -896,7 +885,6 @@ public final Note getOccurrenceNote(OccurrenceName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note getOccurrenceNote(String name) {

GetOccurrenceNoteRequest request = GetOccurrenceNoteRequest.newBuilder().setName(name).build();
return getOccurrenceNote(request);
}
Expand Down Expand Up @@ -965,7 +953,6 @@ public final UnaryCallable<GetOccurrenceNoteRequest, Note> getOccurrenceNoteCall
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note getNote(NoteName name) {

GetNoteRequest request =
GetNoteRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getNote(request);
Expand All @@ -988,7 +975,6 @@ public final Note getNote(NoteName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note getNote(String name) {

GetNoteRequest request = GetNoteRequest.newBuilder().setName(name).build();
return getNote(request);
}
Expand Down Expand Up @@ -1190,7 +1176,6 @@ public final UnaryCallable<ListNotesRequest, ListNotesResponse> listNotesCallabl
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteNote(NoteName name) {

DeleteNoteRequest request =
DeleteNoteRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteNote(request);
Expand All @@ -1213,7 +1198,6 @@ public final void deleteNote(NoteName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteNote(String name) {

DeleteNoteRequest request = DeleteNoteRequest.newBuilder().setName(name).build();
deleteNote(request);
}
Expand Down Expand Up @@ -1285,7 +1269,6 @@ public final UnaryCallable<DeleteNoteRequest, Empty> deleteNoteCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note createNote(ProjectName parent, String noteId, Note note) {

CreateNoteRequest request =
CreateNoteRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -1317,7 +1300,6 @@ public final Note createNote(ProjectName parent, String noteId, Note note) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note createNote(String parent, String noteId, Note note) {

CreateNoteRequest request =
CreateNoteRequest.newBuilder().setParent(parent).setNoteId(noteId).setNote(note).build();
return createNote(request);
Expand Down Expand Up @@ -1397,7 +1379,6 @@ public final UnaryCallable<CreateNoteRequest, Note> createNoteCallable() {
*/
public final BatchCreateNotesResponse batchCreateNotes(
ProjectName parent, Map<String, Note> notes) {

BatchCreateNotesRequest request =
BatchCreateNotesRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -1426,7 +1407,6 @@ public final BatchCreateNotesResponse batchCreateNotes(
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final BatchCreateNotesResponse batchCreateNotes(String parent, Map<String, Note> notes) {

BatchCreateNotesRequest request =
BatchCreateNotesRequest.newBuilder().setParent(parent).putAllNotes(notes).build();
return batchCreateNotes(request);
Expand Down Expand Up @@ -1503,7 +1483,6 @@ public final BatchCreateNotesResponse batchCreateNotes(BatchCreateNotesRequest r
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note updateNote(NoteName name, Note note, FieldMask updateMask) {

UpdateNoteRequest request =
UpdateNoteRequest.newBuilder()
.setName(name == null ? null : name.toString())
Expand Down Expand Up @@ -1534,7 +1513,6 @@ public final Note updateNote(NoteName name, Note note, FieldMask updateMask) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Note updateNote(String name, Note note, FieldMask updateMask) {

UpdateNoteRequest request =
UpdateNoteRequest.newBuilder()
.setName(name)
Expand Down Expand Up @@ -1759,7 +1737,6 @@ public final ListNoteOccurrencesPagedResponse listNoteOccurrences(
*/
public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
ProjectName parent, String filter) {

GetVulnerabilityOccurrencesSummaryRequest request =
GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -1789,7 +1766,6 @@ public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
*/
public final VulnerabilityOccurrencesSummary getVulnerabilityOccurrencesSummary(
String parent, String filter) {

GetVulnerabilityOccurrencesSummaryRequest request =
GetVulnerabilityOccurrencesSummaryRequest.newBuilder()
.setParent(parent)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 7a71fe4

Please sign in to comment.