Skip to content

Commit ca99446

Browse files
yoshi-automationchingor13
authored andcommitted
chore(regen): update license year for generated files (#36)
1 parent 9b0733d commit ca99446

31 files changed

+35
-1398
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java

Lines changed: 1 addition & 17 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.
@@ -226,7 +226,6 @@ public final OperationsClient getOperationsClient() {
226226
"The surface for long-running operations is not stable yet and may change in the future.")
227227
public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsync(
228228
InstanceName parent, String createStatement) {
229-
230229
CreateDatabaseRequest request =
231230
CreateDatabaseRequest.newBuilder()
232231
.setParent(parent == null ? null : parent.toString())
@@ -268,7 +267,6 @@ public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsy
268267
"The surface for long-running operations is not stable yet and may change in the future.")
269268
public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsync(
270269
String parent, String createStatement) {
271-
272270
CreateDatabaseRequest request =
273271
CreateDatabaseRequest.newBuilder()
274272
.setParent(parent)
@@ -391,7 +389,6 @@ public final UnaryCallable<CreateDatabaseRequest, Operation> createDatabaseCalla
391389
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
392390
*/
393391
public final Database getDatabase(DatabaseName name) {
394-
395392
GetDatabaseRequest request =
396393
GetDatabaseRequest.newBuilder().setName(name == null ? null : name.toString()).build();
397394
return getDatabase(request);
@@ -415,7 +412,6 @@ public final Database getDatabase(DatabaseName name) {
415412
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
416413
*/
417414
public final Database getDatabase(String name) {
418-
419415
GetDatabaseRequest request = GetDatabaseRequest.newBuilder().setName(name).build();
420416
return getDatabase(request);
421417
}
@@ -493,7 +489,6 @@ public final UnaryCallable<GetDatabaseRequest, Database> getDatabaseCallable() {
493489
"The surface for long-running operations is not stable yet and may change in the future.")
494490
public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdlAsync(
495491
DatabaseName database, List<String> statements) {
496-
497492
UpdateDatabaseDdlRequest request =
498493
UpdateDatabaseDdlRequest.newBuilder()
499494
.setDatabase(database == null ? null : database.toString())
@@ -530,7 +525,6 @@ public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdl
530525
"The surface for long-running operations is not stable yet and may change in the future.")
531526
public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdlAsync(
532527
String database, List<String> statements) {
533-
534528
UpdateDatabaseDdlRequest request =
535529
UpdateDatabaseDdlRequest.newBuilder()
536530
.setDatabase(database)
@@ -652,7 +646,6 @@ public final UnaryCallable<UpdateDatabaseDdlRequest, Operation> updateDatabaseDd
652646
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
653647
*/
654648
public final void dropDatabase(DatabaseName database) {
655-
656649
DropDatabaseRequest request =
657650
DropDatabaseRequest.newBuilder()
658651
.setDatabase(database == null ? null : database.toString())
@@ -677,7 +670,6 @@ public final void dropDatabase(DatabaseName database) {
677670
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
678671
*/
679672
public final void dropDatabase(String database) {
680-
681673
DropDatabaseRequest request = DropDatabaseRequest.newBuilder().setDatabase(database).build();
682674
dropDatabase(request);
683675
}
@@ -746,7 +738,6 @@ public final UnaryCallable<DropDatabaseRequest, Empty> dropDatabaseCallable() {
746738
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
747739
*/
748740
public final GetDatabaseDdlResponse getDatabaseDdl(DatabaseName database) {
749-
750741
GetDatabaseDdlRequest request =
751742
GetDatabaseDdlRequest.newBuilder()
752743
.setDatabase(database == null ? null : database.toString())
@@ -773,7 +764,6 @@ public final GetDatabaseDdlResponse getDatabaseDdl(DatabaseName database) {
773764
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
774765
*/
775766
public final GetDatabaseDdlResponse getDatabaseDdl(String database) {
776-
777767
GetDatabaseDdlRequest request =
778768
GetDatabaseDdlRequest.newBuilder().setDatabase(database).build();
779769
return getDatabaseDdl(request);
@@ -854,7 +844,6 @@ public final GetDatabaseDdlResponse getDatabaseDdl(GetDatabaseDdlRequest request
854844
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
855845
*/
856846
public final Policy setIamPolicy(ResourceName resource, Policy policy) {
857-
858847
SetIamPolicyRequest request =
859848
SetIamPolicyRequest.newBuilder()
860849
.setResource(resource == null ? null : resource.toString())
@@ -888,7 +877,6 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
888877
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
889878
*/
890879
public final Policy setIamPolicy(String resource, Policy policy) {
891-
892880
SetIamPolicyRequest request =
893881
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
894882
return setIamPolicy(request);
@@ -971,7 +959,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
971959
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
972960
*/
973961
public final Policy getIamPolicy(ResourceName resource) {
974-
975962
GetIamPolicyRequest request =
976963
GetIamPolicyRequest.newBuilder()
977964
.setResource(resource == null ? null : resource.toString())
@@ -1001,7 +988,6 @@ public final Policy getIamPolicy(ResourceName resource) {
1001988
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1002989
*/
1003990
public final Policy getIamPolicy(String resource) {
1004-
1005991
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
1006992
return getIamPolicy(request);
1007993
}
@@ -1086,7 +1072,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
10861072
*/
10871073
public final TestIamPermissionsResponse testIamPermissions(
10881074
ResourceName resource, List<String> permissions) {
1089-
10901075
TestIamPermissionsRequest request =
10911076
TestIamPermissionsRequest.newBuilder()
10921077
.setResource(resource == null ? null : resource.toString())
@@ -1122,7 +1107,6 @@ public final TestIamPermissionsResponse testIamPermissions(
11221107
*/
11231108
public final TestIamPermissionsResponse testIamPermissions(
11241109
String resource, List<String> permissions) {
1125-
11261110
TestIamPermissionsRequest request =
11271111
TestIamPermissionsRequest.newBuilder()
11281112
.setResource(resource)

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.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-spanner/src/main/java/com/google/cloud/spanner/admin/database/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-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.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-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.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-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.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-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.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-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java

Lines changed: 1 addition & 16 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.
@@ -363,7 +363,6 @@ public final ListInstanceConfigsPagedResponse listInstanceConfigs(
363363
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
364364
*/
365365
public final InstanceConfig getInstanceConfig(InstanceConfigName name) {
366-
367366
GetInstanceConfigRequest request =
368367
GetInstanceConfigRequest.newBuilder()
369368
.setName(name == null ? null : name.toString())
@@ -389,7 +388,6 @@ public final InstanceConfig getInstanceConfig(InstanceConfigName name) {
389388
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
390389
*/
391390
public final InstanceConfig getInstanceConfig(String name) {
392-
393391
GetInstanceConfigRequest request = GetInstanceConfigRequest.newBuilder().setName(name).build();
394392
return getInstanceConfig(request);
395393
}
@@ -589,7 +587,6 @@ public final UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInst
589587
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
590588
*/
591589
public final Instance getInstance(InstanceName name) {
592-
593590
GetInstanceRequest request =
594591
GetInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
595592
return getInstance(request);
@@ -613,7 +610,6 @@ public final Instance getInstance(InstanceName name) {
613610
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
614611
*/
615612
public final Instance getInstance(String name) {
616-
617613
GetInstanceRequest request = GetInstanceRequest.newBuilder().setName(name).build();
618614
return getInstance(request);
619615
}
@@ -718,7 +714,6 @@ public final UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
718714
"The surface for long-running operations is not stable yet and may change in the future.")
719715
public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsync(
720716
ProjectName parent, String instanceId, Instance instance) {
721-
722717
CreateInstanceRequest request =
723718
CreateInstanceRequest.newBuilder()
724719
.setParent(parent == null ? null : parent.toString())
@@ -783,7 +778,6 @@ public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsy
783778
"The surface for long-running operations is not stable yet and may change in the future.")
784779
public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsync(
785780
String parent, String instanceId, Instance instance) {
786-
787781
CreateInstanceRequest request =
788782
CreateInstanceRequest.newBuilder()
789783
.setParent(parent)
@@ -1021,7 +1015,6 @@ public final UnaryCallable<CreateInstanceRequest, Operation> createInstanceCalla
10211015
"The surface for long-running operations is not stable yet and may change in the future.")
10221016
public final OperationFuture<Instance, UpdateInstanceMetadata> updateInstanceAsync(
10231017
Instance instance, FieldMask fieldMask) {
1024-
10251018
UpdateInstanceRequest request =
10261019
UpdateInstanceRequest.newBuilder().setInstance(instance).setFieldMask(fieldMask).build();
10271020
return updateInstanceAsync(request);
@@ -1228,7 +1221,6 @@ public final UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCalla
12281221
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12291222
*/
12301223
public final void deleteInstance(InstanceName name) {
1231-
12321224
DeleteInstanceRequest request =
12331225
DeleteInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
12341226
deleteInstance(request);
@@ -1261,7 +1253,6 @@ public final void deleteInstance(InstanceName name) {
12611253
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12621254
*/
12631255
public final void deleteInstance(String name) {
1264-
12651256
DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder().setName(name).build();
12661257
deleteInstance(request);
12671258
}
@@ -1354,7 +1345,6 @@ public final UnaryCallable<DeleteInstanceRequest, Empty> deleteInstanceCallable(
13541345
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13551346
*/
13561347
public final Policy setIamPolicy(ResourceName resource, Policy policy) {
1357-
13581348
SetIamPolicyRequest request =
13591349
SetIamPolicyRequest.newBuilder()
13601350
.setResource(resource == null ? null : resource.toString())
@@ -1388,7 +1378,6 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
13881378
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13891379
*/
13901380
public final Policy setIamPolicy(String resource, Policy policy) {
1391-
13921381
SetIamPolicyRequest request =
13931382
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
13941383
return setIamPolicy(request);
@@ -1471,7 +1460,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
14711460
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14721461
*/
14731462
public final Policy getIamPolicy(ResourceName resource) {
1474-
14751463
GetIamPolicyRequest request =
14761464
GetIamPolicyRequest.newBuilder()
14771465
.setResource(resource == null ? null : resource.toString())
@@ -1501,7 +1489,6 @@ public final Policy getIamPolicy(ResourceName resource) {
15011489
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15021490
*/
15031491
public final Policy getIamPolicy(String resource) {
1504-
15051492
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
15061493
return getIamPolicy(request);
15071494
}
@@ -1586,7 +1573,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
15861573
*/
15871574
public final TestIamPermissionsResponse testIamPermissions(
15881575
ResourceName resource, List<String> permissions) {
1589-
15901576
TestIamPermissionsRequest request =
15911577
TestIamPermissionsRequest.newBuilder()
15921578
.setResource(resource == null ? null : resource.toString())
@@ -1622,7 +1608,6 @@ public final TestIamPermissionsResponse testIamPermissions(
16221608
*/
16231609
public final TestIamPermissionsResponse testIamPermissions(
16241610
String resource, List<String> permissions) {
1625-
16261611
TestIamPermissionsRequest request =
16271612
TestIamPermissionsRequest.newBuilder()
16281613
.setResource(resource)

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.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-spanner/src/main/java/com/google/cloud/spanner/admin/instance/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.

0 commit comments

Comments
 (0)