Skip to content

Commit 911b7a5

Browse files
authored
update GAPIC clients (#3483)
1 parent 4ff397d commit 911b7a5

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public final UnaryCallable<Topic, Topic> createTopicCallable() {
297297
* @param request The request object containing all of the parameters for the API call.
298298
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
299299
*/
300-
/* package-private */ final Topic updateTopic(UpdateTopicRequest request) {
300+
public final Topic updateTopic(UpdateTopicRequest request) {
301301
return updateTopicCallable().call(request);
302302
}
303303

@@ -321,7 +321,7 @@ public final UnaryCallable<Topic, Topic> createTopicCallable() {
321321
* }
322322
* </code></pre>
323323
*/
324-
/* package-private */ final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
324+
public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
325325
return stub.updateTopicCallable();
326326
}
327327

java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public UnaryCallSettings<Topic, Topic> createTopicSettings() {
8686
}
8787

8888
/** Returns the object with the settings used for calls to updateTopic. */
89-
/* package-private */ UnaryCallSettings<UpdateTopicRequest, Topic> updateTopicSettings() {
89+
public UnaryCallSettings<UpdateTopicRequest, Topic> updateTopicSettings() {
9090
return ((PublisherStubSettings) getStubSettings()).updateTopicSettings();
9191
}
9292

@@ -237,8 +237,7 @@ public UnaryCallSettings.Builder<Topic, Topic> createTopicSettings() {
237237
}
238238

239239
/** Returns the builder for the settings used for calls to updateTopic. */
240-
/* package-private */ UnaryCallSettings.Builder<UpdateTopicRequest, Topic>
241-
updateTopicSettings() {
240+
public UnaryCallSettings.Builder<UpdateTopicRequest, Topic> updateTopicSettings() {
242241
return getStubSettingsBuilder().updateTopicSettings();
243242
}
244243

0 commit comments

Comments
 (0)