You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/SettingsCommentComposer.java
+3
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ public class SettingsCommentComposer {
Copy file name to clipboardExpand all lines: gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/AbstractServiceStubSettingsClassComposer.java
Copy file name to clipboardExpand all lines: gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/LoggingServiceV2StubSettings.golden
+6
Original file line number
Diff line number
Diff line change
@@ -422,6 +422,12 @@ public class LoggingServiceV2StubSettings extends StubSettings<LoggingServiceV2S
422
422
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
423
423
}
424
424
425
+
/** Returns the default service name. */
426
+
@Override
427
+
public String getServiceName() {
428
+
return "logging";
429
+
}
430
+
425
431
/** Returns a builder for the default ExecutorProvider for this service. */
426
432
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
Copy file name to clipboardExpand all lines: gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/PublisherStubSettings.golden
+6
Original file line number
Diff line number
Diff line change
@@ -431,6 +431,12 @@ public class PublisherStubSettings extends StubSettings<PublisherStubSettings> {
431
431
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
432
432
}
433
433
434
+
/** Returns the default service name. */
435
+
@Override
436
+
public String getServiceName() {
437
+
return "pubsub";
438
+
}
439
+
434
440
/** Returns a builder for the default ExecutorProvider for this service. */
435
441
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
Copy file name to clipboardExpand all lines: test/integration/goldens/apigeeconnect/src/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java
+6
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,12 @@ public ConnectionServiceStub createStub() throws IOException {
182
182
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
183
183
}
184
184
185
+
/** Returns the default service name. */
186
+
@Override
187
+
publicStringgetServiceName() {
188
+
return"apigeeconnect";
189
+
}
190
+
185
191
/** Returns a builder for the default ExecutorProvider for this service. */
Copy file name to clipboardExpand all lines: test/integration/goldens/compute/src/com/google/cloud/compute/v1small/stub/RegionOperationsStubSettings.java
+6
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,12 @@ public RegionOperationsStub createStub() throws IOException {
114
114
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
115
115
}
116
116
117
+
/** Returns the default service name. */
118
+
@Override
119
+
publicStringgetServiceName() {
120
+
return"compute";
121
+
}
122
+
117
123
/** Returns a builder for the default ExecutorProvider for this service. */
Copy file name to clipboardExpand all lines: test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java
+6
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,12 @@ public IamCredentialsStub createStub() throws IOException {
140
140
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
141
141
}
142
142
143
+
/** Returns the default service name. */
144
+
@Override
145
+
publicStringgetServiceName() {
146
+
return"iamcredentials";
147
+
}
148
+
143
149
/** Returns a builder for the default ExecutorProvider for this service. */
Copy file name to clipboardExpand all lines: test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/LibraryServiceStubSettings.java
+6
Original file line number
Diff line number
Diff line change
@@ -306,6 +306,12 @@ public LibraryServiceStub createStub() throws IOException {
306
306
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
307
307
}
308
308
309
+
/** Returns the default service name. */
310
+
@Override
311
+
publicStringgetServiceName() {
312
+
return"library-example";
313
+
}
314
+
309
315
/** Returns a builder for the default ExecutorProvider for this service. */
0 commit comments