Skip to content

Commit a2e40fe

Browse files
anguillanneufchingor13
authored andcommitted
---
yaml --- r: 12989 b: refs/heads/autosynth-securitycenter c: 50a8533 h: refs/heads/master i: 12987: fe6dc5b
1 parent 2bb7746 commit a2e40fe

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ refs/heads/autosynth-language: 8972866b016473559702424205ce5569de47b34d
139139
refs/heads/autosynth-os-login: daa910328b954bbe87068f684a3088ed910f1ddf
140140
refs/heads/autosynth-redis: 4c68cb0fbc599124e717ab3f24bd8a8a5d085ca9
141141
refs/heads/autosynth-scheduler: 2f0fe714a8541dc72f88b45bddd8748e5f21cf29
142-
refs/heads/autosynth-securitycenter: 80dc94847b954c97a641519177c98dc8e9e9fbe1
142+
refs/heads/autosynth-securitycenter: 50a853325b306f27c46026e77976ebbfb7dc0106
143143
refs/heads/autosynth-spanner: 1804eb46dd34a05b47163758d376a7fac49188f1
144144
refs/heads/autosynth-speech: 631df42a628621fe42eb4974c9eb725b2fe8e473
145145
refs/heads/autosynth-tasks: afc9f4da54964dea5e7f3a9b164db282fc35db5c

branches/autosynth-securitycenter/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksNames.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
package com.google.cloud.securitycenter.v1beta1;
1616

17-
1817
// AUTO-GENERATED DOCUMENTATION AND CLASS
1918
@javax.annotation.Generated("by GAPIC protoc plugin")
2019
public class SecuritymarksNames {

branches/autosynth-securitycenter/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/CreateTopicAndPublishMessages.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.google.api.gax.rpc.ApiException;
2323
import com.google.cloud.pubsub.v1.Publisher;
2424
import com.google.cloud.pubsub.v1.TopicAdminClient;
25+
import com.google.common.util.concurrent.MoreExecutors;
2526
import com.google.protobuf.ByteString;
2627
import com.google.pubsub.v1.ProjectTopicName;
2728
import com.google.pubsub.v1.PubsubMessage;
@@ -120,7 +121,8 @@ public void onSuccess(String messageId) {
120121
// Once published, returns server-assigned message ids (unique within the topic)
121122
System.out.println(messageId);
122123
}
123-
});
124+
},
125+
MoreExecutors.directExecutor());
124126
}
125127
} finally {
126128
if (publisher != null) {

0 commit comments

Comments
 (0)