@@ -132,6 +132,8 @@ public class DataTransferServiceStubSettings extends StubSettings<DataTransferSe
132132 listTransferConfigsSettings ;
133133 private final UnaryCallSettings <ScheduleTransferRunsRequest , ScheduleTransferRunsResponse >
134134 scheduleTransferRunsSettings ;
135+ private final UnaryCallSettings <StartManualTransferRunsRequest , StartManualTransferRunsResponse >
136+ startManualTransferRunsSettings ;
135137 private final UnaryCallSettings <GetTransferRunRequest , TransferRun > getTransferRunSettings ;
136138 private final UnaryCallSettings <DeleteTransferRunRequest , Empty > deleteTransferRunSettings ;
137139 private final PagedCallSettings <
@@ -142,8 +144,6 @@ public class DataTransferServiceStubSettings extends StubSettings<DataTransferSe
142144 listTransferLogsSettings ;
143145 private final UnaryCallSettings <CheckValidCredsRequest , CheckValidCredsResponse >
144146 checkValidCredsSettings ;
145- private final UnaryCallSettings <StartManualTransferRunsRequest , StartManualTransferRunsResponse >
146- startManualTransferRunsSettings ;
147147
148148 /** Returns the object with the settings used for calls to getDataSource. */
149149 public UnaryCallSettings <GetDataSourceRequest , DataSource > getDataSourceSettings () {
@@ -192,6 +192,12 @@ public UnaryCallSettings<GetTransferConfigRequest, TransferConfig> getTransferCo
192192 return scheduleTransferRunsSettings ;
193193 }
194194
195+ /** Returns the object with the settings used for calls to startManualTransferRuns. */
196+ public UnaryCallSettings <StartManualTransferRunsRequest , StartManualTransferRunsResponse >
197+ startManualTransferRunsSettings () {
198+ return startManualTransferRunsSettings ;
199+ }
200+
195201 /** Returns the object with the settings used for calls to getTransferRun. */
196202 public UnaryCallSettings <GetTransferRunRequest , TransferRun > getTransferRunSettings () {
197203 return getTransferRunSettings ;
@@ -222,12 +228,6 @@ public UnaryCallSettings<DeleteTransferRunRequest, Empty> deleteTransferRunSetti
222228 return checkValidCredsSettings ;
223229 }
224230
225- /** Returns the object with the settings used for calls to startManualTransferRuns. */
226- public UnaryCallSettings <StartManualTransferRunsRequest , StartManualTransferRunsResponse >
227- startManualTransferRunsSettings () {
228- return startManualTransferRunsSettings ;
229- }
230-
231231 @ BetaApi ("A restructuring of stub classes is planned, so this may break in the future" )
232232 public DataTransferServiceStub createStub () throws IOException {
233233 if (getTransportChannelProvider ()
@@ -305,12 +305,12 @@ protected DataTransferServiceStubSettings(Builder settingsBuilder) throws IOExce
305305 getTransferConfigSettings = settingsBuilder .getTransferConfigSettings ().build ();
306306 listTransferConfigsSettings = settingsBuilder .listTransferConfigsSettings ().build ();
307307 scheduleTransferRunsSettings = settingsBuilder .scheduleTransferRunsSettings ().build ();
308+ startManualTransferRunsSettings = settingsBuilder .startManualTransferRunsSettings ().build ();
308309 getTransferRunSettings = settingsBuilder .getTransferRunSettings ().build ();
309310 deleteTransferRunSettings = settingsBuilder .deleteTransferRunSettings ().build ();
310311 listTransferRunsSettings = settingsBuilder .listTransferRunsSettings ().build ();
311312 listTransferLogsSettings = settingsBuilder .listTransferLogsSettings ().build ();
312313 checkValidCredsSettings = settingsBuilder .checkValidCredsSettings ().build ();
313- startManualTransferRunsSettings = settingsBuilder .startManualTransferRunsSettings ().build ();
314314 }
315315
316316 private static final PagedListDescriptor <
@@ -573,6 +573,9 @@ public static class Builder
573573 private final UnaryCallSettings .Builder <
574574 ScheduleTransferRunsRequest , ScheduleTransferRunsResponse >
575575 scheduleTransferRunsSettings ;
576+ private final UnaryCallSettings .Builder <
577+ StartManualTransferRunsRequest , StartManualTransferRunsResponse >
578+ startManualTransferRunsSettings ;
576579 private final UnaryCallSettings .Builder <GetTransferRunRequest , TransferRun >
577580 getTransferRunSettings ;
578581 private final UnaryCallSettings .Builder <DeleteTransferRunRequest , Empty >
@@ -585,9 +588,6 @@ public static class Builder
585588 listTransferLogsSettings ;
586589 private final UnaryCallSettings .Builder <CheckValidCredsRequest , CheckValidCredsResponse >
587590 checkValidCredsSettings ;
588- private final UnaryCallSettings .Builder <
589- StartManualTransferRunsRequest , StartManualTransferRunsResponse >
590- startManualTransferRunsSettings ;
591591
592592 private static final ImmutableMap <String , ImmutableSet <StatusCode .Code >>
593593 RETRYABLE_CODE_DEFINITIONS ;
@@ -647,6 +647,8 @@ protected Builder(ClientContext clientContext) {
647647
648648 scheduleTransferRunsSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
649649
650+ startManualTransferRunsSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
651+
650652 getTransferRunSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
651653
652654 deleteTransferRunSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
@@ -657,8 +659,6 @@ protected Builder(ClientContext clientContext) {
657659
658660 checkValidCredsSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
659661
660- startManualTransferRunsSettings = UnaryCallSettings .newUnaryCallSettingsBuilder ();
661-
662662 unaryMethodSettingsBuilders =
663663 ImmutableList .<UnaryCallSettings .Builder <?, ?>>of (
664664 getDataSourceSettings ,
@@ -669,12 +669,12 @@ protected Builder(ClientContext clientContext) {
669669 getTransferConfigSettings ,
670670 listTransferConfigsSettings ,
671671 scheduleTransferRunsSettings ,
672+ startManualTransferRunsSettings ,
672673 getTransferRunSettings ,
673674 deleteTransferRunSettings ,
674675 listTransferRunsSettings ,
675676 listTransferLogsSettings ,
676- checkValidCredsSettings ,
677- startManualTransferRunsSettings );
677+ checkValidCredsSettings );
678678
679679 initDefaults (this );
680680 }
@@ -712,7 +712,7 @@ private static Builder initDefaults(Builder builder) {
712712
713713 builder
714714 .deleteTransferConfigSettings ()
715- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("idempotent " ))
715+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("non_idempotent " ))
716716 .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
717717
718718 builder
@@ -730,14 +730,19 @@ private static Builder initDefaults(Builder builder) {
730730 .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("non_idempotent" ))
731731 .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
732732
733+ builder
734+ .startManualTransferRunsSettings ()
735+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("non_idempotent" ))
736+ .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
737+
733738 builder
734739 .getTransferRunSettings ()
735740 .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("idempotent" ))
736741 .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
737742
738743 builder
739744 .deleteTransferRunSettings ()
740- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("idempotent " ))
745+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("non_idempotent " ))
741746 .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
742747
743748 builder
@@ -752,11 +757,6 @@ private static Builder initDefaults(Builder builder) {
752757
753758 builder
754759 .checkValidCredsSettings ()
755- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("idempotent" ))
756- .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
757-
758- builder
759- .startManualTransferRunsSettings ()
760760 .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("non_idempotent" ))
761761 .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("default" ));
762762
@@ -774,12 +774,12 @@ protected Builder(DataTransferServiceStubSettings settings) {
774774 getTransferConfigSettings = settings .getTransferConfigSettings .toBuilder ();
775775 listTransferConfigsSettings = settings .listTransferConfigsSettings .toBuilder ();
776776 scheduleTransferRunsSettings = settings .scheduleTransferRunsSettings .toBuilder ();
777+ startManualTransferRunsSettings = settings .startManualTransferRunsSettings .toBuilder ();
777778 getTransferRunSettings = settings .getTransferRunSettings .toBuilder ();
778779 deleteTransferRunSettings = settings .deleteTransferRunSettings .toBuilder ();
779780 listTransferRunsSettings = settings .listTransferRunsSettings .toBuilder ();
780781 listTransferLogsSettings = settings .listTransferLogsSettings .toBuilder ();
781782 checkValidCredsSettings = settings .checkValidCredsSettings .toBuilder ();
782- startManualTransferRunsSettings = settings .startManualTransferRunsSettings .toBuilder ();
783783
784784 unaryMethodSettingsBuilders =
785785 ImmutableList .<UnaryCallSettings .Builder <?, ?>>of (
@@ -791,12 +791,12 @@ protected Builder(DataTransferServiceStubSettings settings) {
791791 getTransferConfigSettings ,
792792 listTransferConfigsSettings ,
793793 scheduleTransferRunsSettings ,
794+ startManualTransferRunsSettings ,
794795 getTransferRunSettings ,
795796 deleteTransferRunSettings ,
796797 listTransferRunsSettings ,
797798 listTransferLogsSettings ,
798- checkValidCredsSettings ,
799- startManualTransferRunsSettings );
799+ checkValidCredsSettings );
800800 }
801801
802802 // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -866,6 +866,13 @@ public UnaryCallSettings.Builder<GetDataSourceRequest, DataSource> getDataSource
866866 return scheduleTransferRunsSettings ;
867867 }
868868
869+ /** Returns the builder for the settings used for calls to startManualTransferRuns. */
870+ public UnaryCallSettings .Builder <
871+ StartManualTransferRunsRequest , StartManualTransferRunsResponse >
872+ startManualTransferRunsSettings () {
873+ return startManualTransferRunsSettings ;
874+ }
875+
869876 /** Returns the builder for the settings used for calls to getTransferRun. */
870877 public UnaryCallSettings .Builder <GetTransferRunRequest , TransferRun > getTransferRunSettings () {
871878 return getTransferRunSettings ;
@@ -896,13 +903,6 @@ public UnaryCallSettings.Builder<DeleteTransferRunRequest, Empty> deleteTransfer
896903 return checkValidCredsSettings ;
897904 }
898905
899- /** Returns the builder for the settings used for calls to startManualTransferRuns. */
900- public UnaryCallSettings .Builder <
901- StartManualTransferRunsRequest , StartManualTransferRunsResponse >
902- startManualTransferRunsSettings () {
903- return startManualTransferRunsSettings ;
904- }
905-
906906 @ Override
907907 public DataTransferServiceStubSettings build () throws IOException {
908908 return new DataTransferServiceStubSettings (this );
0 commit comments