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 deleteTransferConfig to 30 seconds:
56+ * <p>For example, to set the total timeout of getDataSource to 30 seconds:
5757 *
5858 * <pre>
5959 * <code>
6060 * DataTransferServiceSettings.Builder dataTransferServiceSettingsBuilder =
6161 * DataTransferServiceSettings.newBuilder();
6262 * dataTransferServiceSettingsBuilder
63- * .deleteTransferConfigSettings ()
63+ * .getDataSourceSettings ()
6464 * .setRetrySettings(
65- * dataTransferServiceSettingsBuilder.deleteTransferConfigSettings ().getRetrySettings().toBuilder()
65+ * dataTransferServiceSettingsBuilder.getDataSourceSettings ().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-
9175 /** Returns the object with the settings used for calls to getDataSource. */
9276 public UnaryCallSettings <GetDataSourceRequest , DataSource > getDataSourceSettings () {
9377 return ((DataTransferServiceStubSettings ) getStubSettings ()).getDataSourceSettings ();
@@ -112,6 +96,11 @@ public UnaryCallSettings<GetDataSourceRequest, DataSource> getDataSourceSettings
11296 return ((DataTransferServiceStubSettings ) getStubSettings ()).updateTransferConfigSettings ();
11397 }
11498
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+
115104 /** Returns the object with the settings used for calls to getTransferConfig. */
116105 public UnaryCallSettings <GetTransferConfigRequest , TransferConfig > getTransferConfigSettings () {
117106 return ((DataTransferServiceStubSettings ) getStubSettings ()).getTransferConfigSettings ();
@@ -141,6 +130,11 @@ public UnaryCallSettings<GetTransferRunRequest, TransferRun> getTransferRunSetti
141130 return ((DataTransferServiceStubSettings ) getStubSettings ()).getTransferRunSettings ();
142131 }
143132
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+
144138 /** Returns the object with the settings used for calls to listTransferRuns. */
145139 public PagedCallSettings <
146140 ListTransferRunsRequest , ListTransferRunsResponse , ListTransferRunsPagedResponse >
@@ -155,6 +149,12 @@ public UnaryCallSettings<GetTransferRunRequest, TransferRun> getTransferRunSetti
155149 return ((DataTransferServiceStubSettings ) getStubSettings ()).listTransferLogsSettings ();
156150 }
157151
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,23 +252,6 @@ 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-
272255 /** Returns the builder for the settings used for calls to getDataSource. */
273256 public UnaryCallSettings .Builder <GetDataSourceRequest , DataSource > getDataSourceSettings () {
274257 return getStubSettingsBuilder ().getDataSourceSettings ();
@@ -293,6 +276,12 @@ public UnaryCallSettings.Builder<GetDataSourceRequest, DataSource> getDataSource
293276 return getStubSettingsBuilder ().updateTransferConfigSettings ();
294277 }
295278
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+
296285 /** Returns the builder for the settings used for calls to getTransferConfig. */
297286 public UnaryCallSettings .Builder <GetTransferConfigRequest , TransferConfig >
298287 getTransferConfigSettings () {
@@ -326,6 +315,11 @@ public UnaryCallSettings.Builder<GetTransferRunRequest, TransferRun> getTransfer
326315 return getStubSettingsBuilder ().getTransferRunSettings ();
327316 }
328317
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+
329323 /** Returns the builder for the settings used for calls to listTransferRuns. */
330324 public PagedCallSettings .Builder <
331325 ListTransferRunsRequest , ListTransferRunsResponse , ListTransferRunsPagedResponse >
@@ -340,6 +334,12 @@ public UnaryCallSettings.Builder<GetTransferRunRequest, TransferRun> getTransfer
340334 return getStubSettingsBuilder ().listTransferLogsSettings ();
341335 }
342336
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