Skip to content
Permalink
Browse files
fix: replace all retry configs removed during GAPIC config migration (#…
…165)

PiperOrigin-RevId: 309415646

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri May 1 09:02:38 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: f78da0d54c78aa8f66d52a448db1f7ec0e0fd591
Source-Link: googleapis/googleapis@f78da0d
  • Loading branch information
yoshi-automation committed May 1, 2020
1 parent 9da5fa1 commit 02da00e9410fb26a00148c5723afa55bffe4e1c3

Large diffs are not rendered by default.

@@ -213,39 +213,6 @@ public UnaryCallSettings<DeleteInspectTemplateRequest, Empty> deleteInspectTempl
return ((DlpServiceStubSettings) getStubSettings()).deleteDeidentifyTemplateSettings();
}

/** Returns the object with the settings used for calls to createJobTrigger. */
public UnaryCallSettings<CreateJobTriggerRequest, JobTrigger> createJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createJobTriggerSettings();
}

/** Returns the object with the settings used for calls to updateJobTrigger. */
public UnaryCallSettings<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).updateJobTriggerSettings();
}

/** Returns the object with the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectJobTriggerSettings();
}

/** Returns the object with the settings used for calls to getJobTrigger. */
public UnaryCallSettings<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getJobTriggerSettings();
}

/** Returns the object with the settings used for calls to listJobTriggers. */
public PagedCallSettings<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return ((DlpServiceStubSettings) getStubSettings()).listJobTriggersSettings();
}

/** Returns the object with the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).deleteJobTriggerSettings();
}

/** Returns the object with the settings used for calls to createDlpJob. */
public UnaryCallSettings<CreateDlpJobRequest, DlpJob> createDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createDlpJobSettings();
@@ -272,6 +239,50 @@ public UnaryCallSettings<CancelDlpJobRequest, Empty> cancelDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).cancelDlpJobSettings();
}

/** Returns the object with the settings used for calls to finishDlpJob. */
public UnaryCallSettings<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).finishDlpJobSettings();
}

/** Returns the object with the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectDlpJobSettings();
}

/** Returns the object with the settings used for calls to listJobTriggers. */
public PagedCallSettings<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return ((DlpServiceStubSettings) getStubSettings()).listJobTriggersSettings();
}

/** Returns the object with the settings used for calls to getJobTrigger. */
public UnaryCallSettings<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getJobTriggerSettings();
}

/** Returns the object with the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).deleteJobTriggerSettings();
}

/** Returns the object with the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectJobTriggerSettings();
}

/** Returns the object with the settings used for calls to updateJobTrigger. */
public UnaryCallSettings<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).updateJobTriggerSettings();
}

/** Returns the object with the settings used for calls to createJobTrigger. */
public UnaryCallSettings<CreateJobTriggerRequest, JobTrigger> createJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createJobTriggerSettings();
}

/** Returns the object with the settings used for calls to createStoredInfoType. */
public UnaryCallSettings<CreateStoredInfoTypeRequest, StoredInfoType>
createStoredInfoTypeSettings() {
@@ -301,17 +312,6 @@ public UnaryCallSettings<DeleteStoredInfoTypeRequest, Empty> deleteStoredInfoTyp
return ((DlpServiceStubSettings) getStubSettings()).deleteStoredInfoTypeSettings();
}

/** Returns the object with the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectDlpJobSettings();
}

/** Returns the object with the settings used for calls to finishDlpJob. */
public UnaryCallSettings<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).finishDlpJobSettings();
}

public static final DlpServiceSettings create(DlpServiceStubSettings stub) throws IOException {
return new DlpServiceSettings.Builder(stub.toBuilder()).build();
}
@@ -504,41 +504,6 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().deleteDeidentifyTemplateSettings();
}

/** Returns the builder for the settings used for calls to createJobTrigger. */
public UnaryCallSettings.Builder<CreateJobTriggerRequest, JobTrigger>
createJobTriggerSettings() {
return getStubSettingsBuilder().createJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to updateJobTrigger. */
public UnaryCallSettings.Builder<UpdateJobTriggerRequest, JobTrigger>
updateJobTriggerSettings() {
return getStubSettingsBuilder().updateJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings.Builder<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return getStubSettingsBuilder().hybridInspectJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to getJobTrigger. */
public UnaryCallSettings.Builder<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return getStubSettingsBuilder().getJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to listJobTriggers. */
public PagedCallSettings.Builder<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return getStubSettingsBuilder().listJobTriggersSettings();
}

/** Returns the builder for the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings.Builder<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return getStubSettingsBuilder().deleteJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createDlpJob. */
public UnaryCallSettings.Builder<CreateDlpJobRequest, DlpJob> createDlpJobSettings() {
return getStubSettingsBuilder().createDlpJobSettings();
@@ -566,6 +531,52 @@ public UnaryCallSettings.Builder<CancelDlpJobRequest, Empty> cancelDlpJobSetting
return getStubSettingsBuilder().cancelDlpJobSettings();
}

/** Returns the builder for the settings used for calls to finishDlpJob. */
public UnaryCallSettings.Builder<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return getStubSettingsBuilder().finishDlpJobSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings.Builder<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return getStubSettingsBuilder().hybridInspectDlpJobSettings();
}

/** Returns the builder for the settings used for calls to listJobTriggers. */
public PagedCallSettings.Builder<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return getStubSettingsBuilder().listJobTriggersSettings();
}

/** Returns the builder for the settings used for calls to getJobTrigger. */
public UnaryCallSettings.Builder<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return getStubSettingsBuilder().getJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings.Builder<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return getStubSettingsBuilder().deleteJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings.Builder<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return getStubSettingsBuilder().hybridInspectJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to updateJobTrigger. */
public UnaryCallSettings.Builder<UpdateJobTriggerRequest, JobTrigger>
updateJobTriggerSettings() {
return getStubSettingsBuilder().updateJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createJobTrigger. */
public UnaryCallSettings.Builder<CreateJobTriggerRequest, JobTrigger>
createJobTriggerSettings() {
return getStubSettingsBuilder().createJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createStoredInfoType. */
public UnaryCallSettings.Builder<CreateStoredInfoTypeRequest, StoredInfoType>
createStoredInfoTypeSettings() {
@@ -599,17 +610,6 @@ public UnaryCallSettings.Builder<CancelDlpJobRequest, Empty> cancelDlpJobSetting
return getStubSettingsBuilder().deleteStoredInfoTypeSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings.Builder<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return getStubSettingsBuilder().hybridInspectDlpJobSettings();
}

/** Returns the builder for the settings used for calls to finishDlpJob. */
public UnaryCallSettings.Builder<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return getStubSettingsBuilder().finishDlpJobSettings();
}

@Override
public DlpServiceSettings build() throws IOException {
return new DlpServiceSettings(this);
@@ -166,21 +166,37 @@ public UnaryCallable<DeleteDeidentifyTemplateRequest, Empty> deleteDeidentifyTem
throw new UnsupportedOperationException("Not implemented: deleteDeidentifyTemplateCallable()");
}

public UnaryCallable<CreateJobTriggerRequest, JobTrigger> createJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: createJobTriggerCallable()");
public UnaryCallable<CreateDlpJobRequest, DlpJob> createDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: createDlpJobCallable()");
}

public UnaryCallable<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: updateJobTriggerCallable()");
public UnaryCallable<ListDlpJobsRequest, ListDlpJobsPagedResponse> listDlpJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsPagedCallable()");
}

public UnaryCallable<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectJobTriggerCallable()");
public UnaryCallable<ListDlpJobsRequest, ListDlpJobsResponse> listDlpJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsCallable()");
}

public UnaryCallable<GetJobTriggerRequest, JobTrigger> getJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: getJobTriggerCallable()");
public UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: getDlpJobCallable()");
}

public UnaryCallable<DeleteDlpJobRequest, Empty> deleteDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: deleteDlpJobCallable()");
}

public UnaryCallable<CancelDlpJobRequest, Empty> cancelDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: cancelDlpJobCallable()");
}

public UnaryCallable<FinishDlpJobRequest, Empty> finishDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: finishDlpJobCallable()");
}

public UnaryCallable<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectDlpJobCallable()");
}

public UnaryCallable<ListJobTriggersRequest, ListJobTriggersPagedResponse>
@@ -192,32 +208,25 @@ public UnaryCallable<ListJobTriggersRequest, ListJobTriggersResponse> listJobTri
throw new UnsupportedOperationException("Not implemented: listJobTriggersCallable()");
}

public UnaryCallable<DeleteJobTriggerRequest, Empty> deleteJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: deleteJobTriggerCallable()");
}

public UnaryCallable<CreateDlpJobRequest, DlpJob> createDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: createDlpJobCallable()");
}

public UnaryCallable<ListDlpJobsRequest, ListDlpJobsPagedResponse> listDlpJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsPagedCallable()");
public UnaryCallable<GetJobTriggerRequest, JobTrigger> getJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: getJobTriggerCallable()");
}

public UnaryCallable<ListDlpJobsRequest, ListDlpJobsResponse> listDlpJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsCallable()");
public UnaryCallable<DeleteJobTriggerRequest, Empty> deleteJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: deleteJobTriggerCallable()");
}

public UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: getDlpJobCallable()");
public UnaryCallable<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectJobTriggerCallable()");
}

public UnaryCallable<DeleteDlpJobRequest, Empty> deleteDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: deleteDlpJobCallable()");
public UnaryCallable<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: updateJobTriggerCallable()");
}

public UnaryCallable<CancelDlpJobRequest, Empty> cancelDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: cancelDlpJobCallable()");
public UnaryCallable<CreateJobTriggerRequest, JobTrigger> createJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: createJobTriggerCallable()");
}

public UnaryCallable<CreateStoredInfoTypeRequest, StoredInfoType> createStoredInfoTypeCallable() {
@@ -246,15 +255,6 @@ public UnaryCallable<DeleteStoredInfoTypeRequest, Empty> deleteStoredInfoTypeCal
throw new UnsupportedOperationException("Not implemented: deleteStoredInfoTypeCallable()");
}

public UnaryCallable<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectDlpJobCallable()");
}

public UnaryCallable<FinishDlpJobRequest, Empty> finishDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: finishDlpJobCallable()");
}

@Override
public abstract void close();
}

0 comments on commit 02da00e

Please sign in to comment.