Sitelet https://github.com/googleapis/google-cloud-java/commit/247786b78dfab2c391d0a5c9cc2672fd37874800
Skip to content

Commit 247786b

Browse files
yoshi-automationchingor13
authored andcommitted
chore(regen): updated license year for generated files (#66)
1 parent ce3b90e commit 247786b

23 files changed

Lines changed: 27 additions & 757 deletions

‎google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java‎

Lines changed: 1 addition & 22 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.
@@ -251,7 +251,6 @@ public final Subscription createSubscription(
251251
ProjectTopicName topic,
252252
PushConfig pushConfig,
253253
int ackDeadlineSeconds) {
254-
255254
Subscription request =
256255
Subscription.newBuilder()
257256
.setName(name == null ? null : name.toString())
@@ -317,7 +316,6 @@ public final Subscription createSubscription(
317316
*/
318317
public final Subscription createSubscription(
319318
String name, String topic, PushConfig pushConfig, int ackDeadlineSeconds) {
320-
321319
Subscription request =
322320
Subscription.newBuilder()
323321
.setName(name)
@@ -413,7 +411,6 @@ public final UnaryCallable<Subscription, Subscription> createSubscriptionCallabl
413411
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
414412
*/
415413
public final Subscription getSubscription(ProjectSubscriptionName subscription) {
416-
417414
GetSubscriptionRequest request =
418415
GetSubscriptionRequest.newBuilder()
419416
.setSubscription(subscription == null ? null : subscription.toString())
@@ -439,7 +436,6 @@ public final Subscription getSubscription(ProjectSubscriptionName subscription)
439436
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
440437
*/
441438
public final Subscription getSubscription(String subscription) {
442-
443439
GetSubscriptionRequest request =
444440
GetSubscriptionRequest.newBuilder().setSubscription(subscription).build();
445441
return getSubscription(request);
@@ -710,7 +706,6 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ListSubscriptionsR
710706
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
711707
*/
712708
public final void deleteSubscription(ProjectSubscriptionName subscription) {
713-
714709
DeleteSubscriptionRequest request =
715710
DeleteSubscriptionRequest.newBuilder()
716711
.setSubscription(subscription == null ? null : subscription.toString())
@@ -739,7 +734,6 @@ public final void deleteSubscription(ProjectSubscriptionName subscription) {
739734
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
740735
*/
741736
public final void deleteSubscription(String subscription) {
742-
743737
DeleteSubscriptionRequest request =
744738
DeleteSubscriptionRequest.newBuilder().setSubscription(subscription).build();
745739
deleteSubscription(request);
@@ -828,7 +822,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
828822
*/
829823
/* package-private */ final void modifyAckDeadline(
830824
ProjectSubscriptionName subscription, List<String> ackIds, int ackDeadlineSeconds) {
831-
832825
ModifyAckDeadlineRequest request =
833826
ModifyAckDeadlineRequest.newBuilder()
834827
.setSubscription(subscription == null ? null : subscription.toString())
@@ -870,7 +863,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
870863
*/
871864
/* package-private */ final void modifyAckDeadline(
872865
String subscription, List<String> ackIds, int ackDeadlineSeconds) {
873-
874866
ModifyAckDeadlineRequest request =
875867
ModifyAckDeadlineRequest.newBuilder()
876868
.setSubscription(subscription)
@@ -966,7 +958,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
966958
*/
967959
/* package-private */ final void acknowledge(
968960
ProjectSubscriptionName subscription, List<String> ackIds) {
969-
970961
AcknowledgeRequest request =
971962
AcknowledgeRequest.newBuilder()
972963
.setSubscription(subscription == null ? null : subscription.toString())
@@ -1000,7 +991,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
1000991
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1001992
*/
1002993
/* package-private */ final void acknowledge(String subscription, List<String> ackIds) {
1003-
1004994
AcknowledgeRequest request =
1005995
AcknowledgeRequest.newBuilder().setSubscription(subscription).addAllAckIds(ackIds).build();
1006996
acknowledge(request);
@@ -1091,7 +1081,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
10911081
*/
10921082
/* package-private */ final PullResponse pull(
10931083
ProjectSubscriptionName subscription, boolean returnImmediately, int maxMessages) {
1094-
10951084
PullRequest request =
10961085
PullRequest.newBuilder()
10971086
.setSubscription(subscription == null ? null : subscription.toString())
@@ -1129,7 +1118,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
11291118
*/
11301119
/* package-private */ final PullResponse pull(
11311120
String subscription, boolean returnImmediately, int maxMessages) {
1132-
11331121
PullRequest request =
11341122
PullRequest.newBuilder()
11351123
.setSubscription(subscription)
@@ -1252,7 +1240,6 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
12521240
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12531241
*/
12541242
public final void modifyPushConfig(ProjectSubscriptionName subscription, PushConfig pushConfig) {
1255-
12561243
ModifyPushConfigRequest request =
12571244
ModifyPushConfigRequest.newBuilder()
12581245
.setSubscription(subscription == null ? null : subscription.toString())
@@ -1289,7 +1276,6 @@ public final void modifyPushConfig(ProjectSubscriptionName subscription, PushCon
12891276
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
12901277
*/
12911278
public final void modifyPushConfig(String subscription, PushConfig pushConfig) {
1292-
12931279
ModifyPushConfigRequest request =
12941280
ModifyPushConfigRequest.newBuilder()
12951281
.setSubscription(subscription)
@@ -1545,7 +1531,6 @@ public final UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnap
15451531
*/
15461532
public final Snapshot createSnapshot(
15471533
ProjectSnapshotName name, ProjectSubscriptionName subscription) {
1548-
15491534
CreateSnapshotRequest request =
15501535
CreateSnapshotRequest.newBuilder()
15511536
.setName(name == null ? null : name.toString())
@@ -1594,7 +1579,6 @@ public final Snapshot createSnapshot(
15941579
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15951580
*/
15961581
public final Snapshot createSnapshot(String name, String subscription) {
1597-
15981582
CreateSnapshotRequest request =
15991583
CreateSnapshotRequest.newBuilder().setName(name).setSubscription(subscription).build();
16001584
return createSnapshot(request);
@@ -1773,7 +1757,6 @@ public final UnaryCallable<UpdateSnapshotRequest, Snapshot> updateSnapshotCallab
17731757
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
17741758
*/
17751759
public final void deleteSnapshot(ProjectSnapshotName snapshot) {
1776-
17771760
DeleteSnapshotRequest request =
17781761
DeleteSnapshotRequest.newBuilder()
17791762
.setSnapshot(snapshot == null ? null : snapshot.toString())
@@ -1806,7 +1789,6 @@ public final void deleteSnapshot(ProjectSnapshotName snapshot) {
18061789
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
18071790
*/
18081791
public final void deleteSnapshot(String snapshot) {
1809-
18101792
DeleteSnapshotRequest request =
18111793
DeleteSnapshotRequest.newBuilder().setSnapshot(snapshot).build();
18121794
deleteSnapshot(request);
@@ -1948,7 +1930,6 @@ public final UnaryCallable<SeekRequest, SeekResponse> seekCallable() {
19481930
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
19491931
*/
19501932
public final Policy setIamPolicy(String resource, Policy policy) {
1951-
19521933
SetIamPolicyRequest request =
19531934
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
19541935
return setIamPolicy(request);
@@ -2022,7 +2003,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
20222003
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
20232004
*/
20242005
public final Policy getIamPolicy(String resource) {
2025-
20262006
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
20272007
return getIamPolicy(request);
20282008
}
@@ -2102,7 +2082,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
21022082
*/
21032083
public final TestIamPermissionsResponse testIamPermissions(
21042084
String resource, List<String> permissions) {
2105-
21062085
TestIamPermissionsRequest request =
21072086
TestIamPermissionsRequest.newBuilder()
21082087
.setResource(resource)

‎google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.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-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java‎

Lines changed: 1 addition & 12 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.
@@ -198,7 +198,6 @@ public PublisherStub getStub() {
198198
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
199199
*/
200200
public final Topic createTopic(ProjectTopicName name) {
201-
202201
Topic request = Topic.newBuilder().setName(name == null ? null : name.toString()).build();
203202
return createTopic(request);
204203
}
@@ -226,7 +225,6 @@ public final Topic createTopic(ProjectTopicName name) {
226225
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
227226
*/
228227
public final Topic createTopic(String name) {
229-
230228
Topic request = Topic.newBuilder().setName(name).build();
231229
return createTopic(request);
232230
}
@@ -354,7 +352,6 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
354352
*/
355353
/* package-private */ final PublishResponse publish(
356354
ProjectTopicName topic, List<PubsubMessage> messages) {
357-
358355
PublishRequest request =
359356
PublishRequest.newBuilder()
360357
.setTopic(topic == null ? null : topic.toString())
@@ -387,7 +384,6 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
387384
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
388385
*/
389386
/* package-private */ final PublishResponse publish(String topic, List<PubsubMessage> messages) {
390-
391387
PublishRequest request =
392388
PublishRequest.newBuilder().setTopic(topic).addAllMessages(messages).build();
393389
return publish(request);
@@ -467,7 +463,6 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
467463
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
468464
*/
469465
public final Topic getTopic(ProjectTopicName topic) {
470-
471466
GetTopicRequest request =
472467
GetTopicRequest.newBuilder().setTopic(topic == null ? null : topic.toString()).build();
473468
return getTopic(request);
@@ -490,7 +485,6 @@ public final Topic getTopic(ProjectTopicName topic) {
490485
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
491486
*/
492487
public final Topic getTopic(String topic) {
493-
494488
GetTopicRequest request = GetTopicRequest.newBuilder().setTopic(topic).build();
495489
return getTopic(request);
496490
}
@@ -826,7 +820,6 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(
826820
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
827821
*/
828822
public final void deleteTopic(ProjectTopicName topic) {
829-
830823
DeleteTopicRequest request =
831824
DeleteTopicRequest.newBuilder().setTopic(topic == null ? null : topic.toString()).build();
832825
deleteTopic(request);
@@ -852,7 +845,6 @@ public final void deleteTopic(ProjectTopicName topic) {
852845
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
853846
*/
854847
public final void deleteTopic(String topic) {
855-
856848
DeleteTopicRequest request = DeleteTopicRequest.newBuilder().setTopic(topic).build();
857849
deleteTopic(request);
858850
}
@@ -930,7 +922,6 @@ public final UnaryCallable<DeleteTopicRequest, Empty> deleteTopicCallable() {
930922
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
931923
*/
932924
public final Policy setIamPolicy(String resource, Policy policy) {
933-
934925
SetIamPolicyRequest request =
935926
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
936927
return setIamPolicy(request);
@@ -1004,7 +995,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
1004995
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1005996
*/
1006997
public final Policy getIamPolicy(String resource) {
1007-
1008998
GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
1009999
return getIamPolicy(request);
10101000
}
@@ -1084,7 +1074,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
10841074
*/
10851075
public final TestIamPermissionsResponse testIamPermissions(
10861076
String resource, List<String> permissions) {
1087-
10881077
TestIamPermissionsRequest request =
10891078
TestIamPermissionsRequest.newBuilder()
10901079
.setResource(resource)

‎google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.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-pubsub/src/main/java/com/google/cloud/pubsub/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-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.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-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.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-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.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-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.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-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.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)