Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
chore: release gapic-generator-java v1.0.3 Propagates the protobuf de…
Browse files Browse the repository at this point in the history
…precated option from services/RPCs to classes/methods. (#746)

Committer: @miraleung
PiperOrigin-RevId: 367652775

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Apr 9 10:02:00 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 86c2fe6229f16e0f113a4cf9edea35d71895a6a6
Source-Link: googleapis/googleapis@86c2fe6
  • Loading branch information
yoshi-automation committed Apr 10, 2021
1 parent 824f47c commit cb4379b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 7 deletions.
Expand Up @@ -1080,7 +1080,9 @@ public final ListTransferConfigsPagedResponse listTransferConfigs(
* @param endTime Required. End time of the range of transfer runs. For example,
* `"2017-05-30T00:00:00+00:00"`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public final ScheduleTransferRunsResponse scheduleTransferRuns(
TransferConfigName parent, Timestamp startTime, Timestamp endTime) {
ScheduleTransferRunsRequest request =
Expand Down Expand Up @@ -1121,7 +1123,9 @@ public final ScheduleTransferRunsResponse scheduleTransferRuns(
* @param endTime Required. End time of the range of transfer runs. For example,
* `"2017-05-30T00:00:00+00:00"`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public final ScheduleTransferRunsResponse scheduleTransferRuns(
String parent, Timestamp startTime, Timestamp endTime) {
ScheduleTransferRunsRequest request =
Expand Down Expand Up @@ -1159,7 +1163,9 @@ public final ScheduleTransferRunsResponse scheduleTransferRuns(
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public final ScheduleTransferRunsResponse scheduleTransferRuns(
ScheduleTransferRunsRequest request) {
return scheduleTransferRunsCallable().call(request);
Expand Down Expand Up @@ -1190,7 +1196,10 @@ public final ScheduleTransferRunsResponse scheduleTransferRuns(
* ScheduleTransferRunsResponse response = future.get();
* }
* }</pre>
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public final UnaryCallable<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsCallable() {
return stub.scheduleTransferRunsCallable();
Expand Down
Expand Up @@ -116,7 +116,12 @@ public UnaryCallSettings<GetTransferConfigRequest, TransferConfig> getTransferCo
return ((DataTransferServiceStubSettings) getStubSettings()).listTransferConfigsSettings();
}

/** Returns the object with the settings used for calls to scheduleTransferRuns. */
/**
* Returns the object with the settings used for calls to scheduleTransferRuns.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsSettings() {
return ((DataTransferServiceStubSettings) getStubSettings()).scheduleTransferRunsSettings();
Expand Down Expand Up @@ -301,7 +306,12 @@ public UnaryCallSettings.Builder<GetDataSourceRequest, DataSource> getDataSource
return getStubSettingsBuilder().listTransferConfigsSettings();
}

/** Returns the builder for the settings used for calls to scheduleTransferRuns. */
/**
* Returns the builder for the settings used for calls to scheduleTransferRuns.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsSettings() {
return getStubSettingsBuilder().scheduleTransferRunsSettings();
Expand Down
Expand Up @@ -98,6 +98,7 @@ public UnaryCallable<GetTransferConfigRequest, TransferConfig> getTransferConfig
throw new UnsupportedOperationException("Not implemented: listTransferConfigsCallable()");
}

@Deprecated
public UnaryCallable<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsCallable() {
throw new UnsupportedOperationException("Not implemented: scheduleTransferRunsCallable()");
Expand Down
Expand Up @@ -423,7 +423,12 @@ public UnaryCallSettings<GetTransferConfigRequest, TransferConfig> getTransferCo
return listTransferConfigsSettings;
}

/** Returns the object with the settings used for calls to scheduleTransferRuns. */
/**
* Returns the object with the settings used for calls to scheduleTransferRuns.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsSettings() {
return scheduleTransferRunsSettings;
Expand Down Expand Up @@ -859,7 +864,12 @@ public UnaryCallSettings.Builder<GetDataSourceRequest, DataSource> getDataSource
return listTransferConfigsSettings;
}

/** Returns the builder for the settings used for calls to scheduleTransferRuns. */
/**
* Returns the builder for the settings used for calls to scheduleTransferRuns.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<ScheduleTransferRunsRequest, ScheduleTransferRunsResponse>
scheduleTransferRunsSettings() {
return scheduleTransferRunsSettings;
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -11,15 +11,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquerydatatransfer.git",
"sha": "0f890ec54b69be6f8353ef86528ddfd0cd671c06"
"sha": "5bfdf2ddbf2b64cc2d0b3a6411001fe8ed92e28b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
"internalRef": "362856902"
"sha": "86c2fe6229f16e0f113a4cf9edea35d71895a6a6",
"internalRef": "367652775"
}
},
{
Expand Down

0 comments on commit cb4379b

Please sign in to comment.