5353 * <p>The builder of this class is recursive, so contained classes are themselves builders. When
5454 * build() is called, the tree of builders is called to create the complete settings object.
5555 *
56- * <p>For example, to set the total timeout of getDataSource to 30 seconds:
56+ * <p>For example, to set the total timeout of deleteTransferConfig to 30 seconds:
5757 *
5858 * <pre>
5959 * <code>
6060 * DataTransferServiceSettings.Builder dataTransferServiceSettingsBuilder =
6161 * DataTransferServiceSettings.newBuilder();
6262 * dataTransferServiceSettingsBuilder
63- * .getDataSourceSettings ()
63+ * .deleteTransferConfigSettings ()
6464 * .setRetrySettings(
65- * dataTransferServiceSettingsBuilder.getDataSourceSettings ().getRetrySettings().toBuilder()
65+ * dataTransferServiceSettingsBuilder.deleteTransferConfigSettings ().getRetrySettings().toBuilder()
6666 * .setTotalTimeout(Duration.ofSeconds(30))
6767 * .build());
6868 * DataTransferServiceSettings dataTransferServiceSettings = dataTransferServiceSettingsBuilder.build();
7272@ Generated ("by gapic-generator" )
7373@ BetaApi
7474public class DataTransferServiceSettings extends ClientSettings <DataTransferServiceSettings > {
75+ /** Returns the object with the settings used for calls to deleteTransferConfig. */
76+ public UnaryCallSettings <DeleteTransferConfigRequest , Empty > deleteTransferConfigSettings () {
77+ return ((DataTransferServiceStubSettings ) getStubSettings ()).deleteTransferConfigSettings ();
78+ }
79+
80+ /** Returns the object with the settings used for calls to deleteTransferRun. */
81+ public UnaryCallSettings <DeleteTransferRunRequest , Empty > deleteTransferRunSettings () {
82+ return ((DataTransferServiceStubSettings ) getStubSettings ()).deleteTransferRunSettings ();
83+ }
84+
85+ /** Returns the object with the settings used for calls to checkValidCreds. */
86+ public UnaryCallSettings <CheckValidCredsRequest , CheckValidCredsResponse >
87+ checkValidCredsSettings () {
88+ return ((DataTransferServiceStubSettings ) getStubSettings ()).checkValidCredsSettings ();
89+ }
90+
7591 /** Returns the object with the settings used for calls to getDataSource. */
7692 public UnaryCallSettings <GetDataSourceRequest , DataSource > getDataSourceSettings () {
7793 return ((DataTransferServiceStubSettings ) getStubSettings ()).getDataSourceSettings ();
@@ -96,11 +112,6 @@ public UnaryCallSettings<GetDataSourceRequest, DataSource> getDataSourceSettings
96112 return ((DataTransferServiceStubSettings ) getStubSettings ()).updateTransferConfigSettings ();
97113 }
98114
99- /** Returns the object with the settings used for calls to deleteTransferConfig. */
100- public UnaryCallSettings <DeleteTransferConfigRequest , Empty > deleteTransferConfigSettings () {
101- return ((DataTransferServiceStubSettings ) getStubSettings ()).deleteTransferConfigSettings ();
102- }
103-
104115 /** Returns the object with the settings used for calls to getTransferConfig. */
105116 public UnaryCallSettings <GetTransferConfigRequest , TransferConfig > getTransferConfigSettings () {
106117 return ((DataTransferServiceStubSettings ) getStubSettings ()).getTransferConfigSettings ();
@@ -130,11 +141,6 @@ public UnaryCallSettings<GetTransferRunRequest, TransferRun> getTransferRunSetti
130141 return ((DataTransferServiceStubSettings ) getStubSettings ()).getTransferRunSettings ();
131142 }
132143
133- /** Returns the object with the settings used for calls to deleteTransferRun. */
134- public UnaryCallSettings <DeleteTransferRunRequest , Empty > deleteTransferRunSettings () {
135- return ((DataTransferServiceStubSettings ) getStubSettings ()).deleteTransferRunSettings ();
136- }
137-
138144 /** Returns the object with the settings used for calls to listTransferRuns. */
139145 public PagedCallSettings <
140146 ListTransferRunsRequest , ListTransferRunsResponse , ListTransferRunsPagedResponse >
@@ -149,12 +155,6 @@ public UnaryCallSettings<DeleteTransferRunRequest, Empty> deleteTransferRunSetti
149155 return ((DataTransferServiceStubSettings ) getStubSettings ()).listTransferLogsSettings ();
150156 }
151157
152- /** Returns the object with the settings used for calls to checkValidCreds. */
153- public UnaryCallSettings <CheckValidCredsRequest , CheckValidCredsResponse >
154- checkValidCredsSettings () {
155- return ((DataTransferServiceStubSettings ) getStubSettings ()).checkValidCredsSettings ();
156- }
157-
158158 public static final DataTransferServiceSettings create (DataTransferServiceStubSettings stub )
159159 throws IOException {
160160 return new DataTransferServiceSettings .Builder (stub .toBuilder ()).build ();
@@ -252,6 +252,23 @@ public Builder applyToAllUnaryMethods(
252252 return this ;
253253 }
254254
255+ /** Returns the builder for the settings used for calls to deleteTransferConfig. */
256+ public UnaryCallSettings .Builder <DeleteTransferConfigRequest , Empty >
257+ deleteTransferConfigSettings () {
258+ return getStubSettingsBuilder ().deleteTransferConfigSettings ();
259+ }
260+
261+ /** Returns the builder for the settings used for calls to deleteTransferRun. */
262+ public UnaryCallSettings .Builder <DeleteTransferRunRequest , Empty > deleteTransferRunSettings () {
263+ return getStubSettingsBuilder ().deleteTransferRunSettings ();
264+ }
265+
266+ /** Returns the builder for the settings used for calls to checkValidCreds. */
267+ public UnaryCallSettings .Builder <CheckValidCredsRequest , CheckValidCredsResponse >
268+ checkValidCredsSettings () {
269+ return getStubSettingsBuilder ().checkValidCredsSettings ();
270+ }
271+
255272 /** Returns the builder for the settings used for calls to getDataSource. */
256273 public UnaryCallSettings .Builder <GetDataSourceRequest , DataSource > getDataSourceSettings () {
257274 return getStubSettingsBuilder ().getDataSourceSettings ();
@@ -276,12 +293,6 @@ public UnaryCallSettings.Builder<GetDataSourceRequest, DataSource> getDataSource
276293 return getStubSettingsBuilder ().updateTransferConfigSettings ();
277294 }
278295
279- /** Returns the builder for the settings used for calls to deleteTransferConfig. */
280- public UnaryCallSettings .Builder <DeleteTransferConfigRequest , Empty >
281- deleteTransferConfigSettings () {
282- return getStubSettingsBuilder ().deleteTransferConfigSettings ();
283- }
284-
285296 /** Returns the builder for the settings used for calls to getTransferConfig. */
286297 public UnaryCallSettings .Builder <GetTransferConfigRequest , TransferConfig >
287298 getTransferConfigSettings () {
@@ -315,11 +326,6 @@ public UnaryCallSettings.Builder<GetTransferRunRequest, TransferRun> getTransfer
315326 return getStubSettingsBuilder ().getTransferRunSettings ();
316327 }
317328
318- /** Returns the builder for the settings used for calls to deleteTransferRun. */
319- public UnaryCallSettings .Builder <DeleteTransferRunRequest , Empty > deleteTransferRunSettings () {
320- return getStubSettingsBuilder ().deleteTransferRunSettings ();
321- }
322-
323329 /** Returns the builder for the settings used for calls to listTransferRuns. */
324330 public PagedCallSettings .Builder <
325331 ListTransferRunsRequest , ListTransferRunsResponse , ListTransferRunsPagedResponse >
@@ -334,12 +340,6 @@ public UnaryCallSettings.Builder<DeleteTransferRunRequest, Empty> deleteTransfer
334340 return getStubSettingsBuilder ().listTransferLogsSettings ();
335341 }
336342
337- /** Returns the builder for the settings used for calls to checkValidCreds. */
338- public UnaryCallSettings .Builder <CheckValidCredsRequest , CheckValidCredsResponse >
339- checkValidCredsSettings () {
340- return getStubSettingsBuilder ().checkValidCredsSettings ();
341- }
342-
343343 @ Override
344344 public DataTransferServiceSettings build () throws IOException {
345345 return new DataTransferServiceSettings (this );
0 commit comments