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

fix: replace all retry configs removed during GAPIC config migration #165

Merged
merged 1 commit into from May 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1,888 changes: 944 additions & 944 deletions google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java

Large diffs are not rendered by default.

Expand Up @@ -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();
Expand All @@ -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() {
Expand Down Expand Up @@ -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();
}
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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);
Expand Down
Expand Up @@ -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>
Expand All @@ -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() {
Expand Down Expand Up @@ -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();
}